RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux lcy01-27 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 x86_64 Buildd toolchain package versions: launchpad-buildd_154 python-lpbuildd_154 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.3 dpkg-dev_1.18.4ubuntu1.2 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 28 Oct 09:48:23 ntpdate[1808]: adjust time server 10.211.37.1 offset -0.000593 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=bionic --arch=i386 PACKAGEBUILD-13635894 /home/buildd/filecache-default/b6762bcd0bec7d108ffb0fb3fb0b7d1ce32df8bb Creating target for build PACKAGEBUILD-13635894 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=bionic --arch=i386 PACKAGEBUILD-13635894 Starting target for build PACKAGEBUILD-13635894 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=bionic --arch=i386 PACKAGEBUILD-13635894 'deb http://ftpmaster.internal/ubuntu bionic main universe' 'deb http://ftpmaster.internal/ubuntu bionic-security main universe' 'deb http://ftpmaster.internal/ubuntu bionic-updates main universe' 'deb http://ftpmaster.internal/ubuntu bionic-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-13635894 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=bionic --arch=i386 PACKAGEBUILD-13635894 Updating target for build PACKAGEBUILD-13635894 Get:1 http://ftpmaster.internal/ubuntu bionic InRelease [235 kB] Get:2 http://ftpmaster.internal/ubuntu bionic-security InRelease [65.4 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-updates InRelease [65.4 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-proposed InRelease [85.4 kB] Get:5 http://ftpmaster.internal/ubuntu bionic/main i386 Packages [1067 kB] Get:6 http://ftpmaster.internal/ubuntu bionic/main Translation-en [542 kB] Get:7 http://ftpmaster.internal/ubuntu bionic/universe i386 Packages [8066 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/universe Translation-en [4788 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 Packages [96.8 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-proposed/main Translation-en [47.6 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 Packages [378 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-proposed/universe Translation-en [210 kB] Fetched 15.6 MB in 3s (3965 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following package was automatically installed and is no longer required: libustr-1.0-1 Use 'sudo apt autoremove' to remove it. The following packages will be upgraded: apt apt-transport-https base-files binutils binutils-common binutils-i686-linux-gnu build-essential coreutils cpp-7 dpkg dpkg-dev g++-7 gcc-7 gcc-7-base gnupg gnupg-agent gpgv libapt-pkg5.0 libasan4 libatomic1 libbinutils libc-bin libc-dev-bin libc6 libc6-dev libcap2 libcc1-0 libcilkrts5 libcurl3-gnutls libdpkg-perl libgcc-7-dev libgcc1 libgomp1 libhogweed4 libitm1 libkeyutils1 libmpx2 libnettle6 libpcre3 libpng16-16 libquadmath0 libseccomp2 libsemanage-common libsemanage1 libsqlite3-0 libstdc++-7-dev libstdc++6 libsystemd0 libubsan0 libudev1 linux-libc-dev multiarch-support systemd systemd-sysv tzdata 55 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 48.4 MB of archives. After this operation, 729 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu bionic/main i386 base-files i386 10ubuntu1 [55.9 kB] Get:2 http://ftpmaster.internal/ubuntu bionic/main i386 coreutils i386 8.26-3ubuntu4 [1283 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 dpkg i386 1.19.0.4ubuntu1 [1166 kB] Get:4 http://ftpmaster.internal/ubuntu bionic/main i386 libc6-dev i386 2.26-0ubuntu2 [2144 kB] Get:5 http://ftpmaster.internal/ubuntu bionic/main i386 libc-dev-bin i386 2.26-0ubuntu2 [67.0 kB] Get:6 http://ftpmaster.internal/ubuntu bionic/main i386 linux-libc-dev i386 4.13.0-16.19 [954 kB] Get:7 http://ftpmaster.internal/ubuntu bionic/main i386 libquadmath0 i386 7.2.0-12ubuntu1 [204 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/main i386 libitm1 i386 7.2.0-12ubuntu1 [30.3 kB] Get:9 http://ftpmaster.internal/ubuntu bionic/main i386 gcc-7-base i386 7.2.0-12ubuntu1 [18.3 kB] Get:10 http://ftpmaster.internal/ubuntu bionic/main i386 libgcc1 i386 1:7.2.0-12ubuntu1 [47.0 kB] Get:11 http://ftpmaster.internal/ubuntu bionic/main i386 libmpx2 i386 7.2.0-12ubuntu1 [13.0 kB] Get:12 http://ftpmaster.internal/ubuntu bionic/main i386 libgomp1 i386 7.2.0-12ubuntu1 [80.3 kB] Get:13 http://ftpmaster.internal/ubuntu bionic/main i386 libatomic1 i386 7.2.0-12ubuntu1 [9696 B] Get:14 http://ftpmaster.internal/ubuntu bionic/main i386 libasan4 i386 7.2.0-12ubuntu1 [361 kB] Get:15 http://ftpmaster.internal/ubuntu bionic/main i386 libubsan0 i386 7.2.0-12ubuntu1 [141 kB] Get:16 http://ftpmaster.internal/ubuntu bionic/main i386 libcilkrts5 i386 7.2.0-12ubuntu1 [47.3 kB] Get:17 http://ftpmaster.internal/ubuntu bionic/main i386 cpp-7 i386 7.2.0-12ubuntu1 [6959 kB] Get:18 http://ftpmaster.internal/ubuntu bionic/main i386 libcc1-0 i386 7.2.0-12ubuntu1 [41.4 kB] Get:19 http://ftpmaster.internal/ubuntu bionic/main i386 g++-7 i386 7.2.0-12ubuntu1 [7800 kB] Get:20 http://ftpmaster.internal/ubuntu bionic/main i386 gcc-7 i386 7.2.0-12ubuntu1 [7663 kB] Get:21 http://ftpmaster.internal/ubuntu bionic/main i386 libgcc-7-dev i386 7.2.0-12ubuntu1 [2396 kB] Get:22 http://ftpmaster.internal/ubuntu bionic/main i386 libstdc++-7-dev i386 7.2.0-12ubuntu1 [1500 kB] Get:23 http://ftpmaster.internal/ubuntu bionic/main i386 libstdc++6 i386 7.2.0-12ubuntu1 [437 kB] Get:24 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libbinutils i386 2.29.1-6ubuntu1 [551 kB] Get:25 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 binutils i386 2.29.1-6ubuntu1 [3346 B] Get:26 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 binutils-common i386 2.29.1-6ubuntu1 [190 kB] Get:27 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 binutils-i686-linux-gnu i386 2.29.1-6ubuntu1 [1997 kB] Get:28 http://ftpmaster.internal/ubuntu bionic/main i386 libc6 i386 2.26-0ubuntu2 [2544 kB] Get:29 http://ftpmaster.internal/ubuntu bionic/main i386 libc-bin i386 2.26-0ubuntu2 [569 kB] Get:30 http://ftpmaster.internal/ubuntu bionic/main i386 libudev1 i386 234-2ubuntu12 [55.1 kB] Get:31 http://ftpmaster.internal/ubuntu bionic/main i386 libapt-pkg5.0 i386 1.5.1 [850 kB] Get:32 http://ftpmaster.internal/ubuntu bionic/main i386 gpgv i386 2.1.15-1ubuntu8 [206 kB] Get:33 http://ftpmaster.internal/ubuntu bionic/main i386 apt i386 1.5.1 [1150 kB] Get:34 http://ftpmaster.internal/ubuntu bionic/main i386 libcap2 i386 1:2.25-1.1 [13.6 kB] Get:35 http://ftpmaster.internal/ubuntu bionic/main i386 libseccomp2 i386 2.3.1-2.1ubuntu3 [35.4 kB] Get:36 http://ftpmaster.internal/ubuntu bionic/main i386 systemd i386 234-2ubuntu12 [2874 kB] Get:37 http://ftpmaster.internal/ubuntu bionic/main i386 libsystemd0 i386 234-2ubuntu12 [227 kB] Get:38 http://ftpmaster.internal/ubuntu bionic/main i386 systemd-sysv i386 234-2ubuntu12 [10.8 kB] Get:39 http://ftpmaster.internal/ubuntu bionic/main i386 libpcre3 i386 2:8.39-5ubuntu3 [228 kB] Get:40 http://ftpmaster.internal/ubuntu bionic/main i386 libsemanage-common all 2.7-2 [6916 B] Get:41 http://ftpmaster.internal/ubuntu bionic/main i386 libsemanage1 i386 2.7-2 [93.4 kB] Get:42 http://ftpmaster.internal/ubuntu bionic/main i386 libnettle6 i386 3.3-2 [109 kB] Get:43 http://ftpmaster.internal/ubuntu bionic/main i386 libhogweed4 i386 3.3-2 [137 kB] Get:44 http://ftpmaster.internal/ubuntu bionic/main i386 gnupg i386 2.1.15-1ubuntu8 [823 kB] Get:45 http://ftpmaster.internal/ubuntu bionic/main i386 gnupg-agent i386 2.1.15-1ubuntu8 [276 kB] Get:46 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libsqlite3-0 i386 3.20.1-2 [525 kB] Get:47 http://ftpmaster.internal/ubuntu bionic/main i386 multiarch-support i386 2.26-0ubuntu2 [6830 B] Get:48 http://ftpmaster.internal/ubuntu bionic/main i386 tzdata all 2017c-1 [188 kB] Get:49 http://ftpmaster.internal/ubuntu bionic/main i386 libkeyutils1 i386 1.5.9-9.1ubuntu1 [9736 B] Get:50 http://ftpmaster.internal/ubuntu bionic/main i386 libpng16-16 i386 1.6.34-1 [183 kB] Get:51 http://ftpmaster.internal/ubuntu bionic/main i386 libcurl3-gnutls i386 7.55.1-1ubuntu2.1 [214 kB] Get:52 http://ftpmaster.internal/ubuntu bionic/main i386 apt-transport-https i386 1.5.1 [38.9 kB] Get:53 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 dpkg-dev all 1.19.0.4ubuntu1 [607 kB] Get:54 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libdpkg-perl all 1.19.0.4ubuntu1 [211 kB] Get:55 http://ftpmaster.internal/ubuntu bionic/main i386 build-essential i386 12.4ubuntu1 [4752 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 48.4 MB in 1s (41.5 MB/s) (Reading database ... 12671 files and directories currently installed.) Preparing to unpack .../base-files_10ubuntu1_i386.deb ... Unpacking base-files (10ubuntu1) over (9.6ubuntu101) ... Setting up base-files (10ubuntu1) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... (Reading database ... 12671 files and directories currently installed.) Preparing to unpack .../coreutils_8.26-3ubuntu4_i386.deb ... Unpacking coreutils (8.26-3ubuntu4) over (8.26-3ubuntu3) ... Setting up coreutils (8.26-3ubuntu4) ... (Reading database ... 12671 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.0.4ubuntu1_i386.deb ... Unpacking dpkg (1.19.0.4ubuntu1) over (1.18.24ubuntu1) ... Setting up dpkg (1.19.0.4ubuntu1) ... Installing new version of config file /etc/alternatives/README ... Installing new version of config file /etc/cron.daily/dpkg ... Installing new version of config file /etc/logrotate.d/dpkg ... (Reading database ... 12673 files and directories currently installed.) Preparing to unpack .../0-libc6-dev_2.26-0ubuntu2_i386.deb ... Unpacking libc6-dev:i386 (2.26-0ubuntu2) over (2.26-0ubuntu1) ... Preparing to unpack .../1-libc-dev-bin_2.26-0ubuntu2_i386.deb ... Unpacking libc-dev-bin (2.26-0ubuntu2) over (2.26-0ubuntu1) ... Preparing to unpack .../2-linux-libc-dev_4.13.0-16.19_i386.deb ... Unpacking linux-libc-dev:i386 (4.13.0-16.19) over (4.13.0-11.12) ... Preparing to unpack .../3-libquadmath0_7.2.0-12ubuntu1_i386.deb ... Unpacking libquadmath0:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../4-libitm1_7.2.0-12ubuntu1_i386.deb ... Unpacking libitm1:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../5-gcc-7-base_7.2.0-12ubuntu1_i386.deb ... Unpacking gcc-7-base:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Setting up gcc-7-base:i386 (7.2.0-12ubuntu1) ... (Reading database ... 12673 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a7.2.0-12ubuntu1_i386.deb ... Unpacking libgcc1:i386 (1:7.2.0-12ubuntu1) over (1:7.2.0-6ubuntu1) ... Setting up libgcc1:i386 (1:7.2.0-12ubuntu1) ... (Reading database ... 12673 files and directories currently installed.) Preparing to unpack .../00-libmpx2_7.2.0-12ubuntu1_i386.deb ... Unpacking libmpx2:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../01-libgomp1_7.2.0-12ubuntu1_i386.deb ... Unpacking libgomp1:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../02-libatomic1_7.2.0-12ubuntu1_i386.deb ... Unpacking libatomic1:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../03-libasan4_7.2.0-12ubuntu1_i386.deb ... Unpacking libasan4:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../04-libubsan0_7.2.0-12ubuntu1_i386.deb ... Unpacking libubsan0:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../05-libcilkrts5_7.2.0-12ubuntu1_i386.deb ... Unpacking libcilkrts5:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../06-cpp-7_7.2.0-12ubuntu1_i386.deb ... Unpacking cpp-7 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../07-libcc1-0_7.2.0-12ubuntu1_i386.deb ... Unpacking libcc1-0:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../08-g++-7_7.2.0-12ubuntu1_i386.deb ... Unpacking g++-7 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../09-gcc-7_7.2.0-12ubuntu1_i386.deb ... Unpacking gcc-7 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../10-libgcc-7-dev_7.2.0-12ubuntu1_i386.deb ... Unpacking libgcc-7-dev:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../11-libstdc++-7-dev_7.2.0-12ubuntu1_i386.deb ... Unpacking libstdc++-7-dev:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../12-libstdc++6_7.2.0-12ubuntu1_i386.deb ... Unpacking libstdc++6:i386 (7.2.0-12ubuntu1) over (7.2.0-6ubuntu1) ... Setting up libstdc++6:i386 (7.2.0-12ubuntu1) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../libbinutils_2.29.1-6ubuntu1_i386.deb ... Unpacking libbinutils:i386 (2.29.1-6ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../binutils_2.29.1-6ubuntu1_i386.deb ... Unpacking binutils (2.29.1-6ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../binutils-common_2.29.1-6ubuntu1_i386.deb ... Unpacking binutils-common:i386 (2.29.1-6ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../binutils-i686-linux-gnu_2.29.1-6ubuntu1_i386.deb ... Unpacking binutils-i686-linux-gnu (2.29.1-6ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../libc6_2.26-0ubuntu2_i386.deb ... Unpacking libc6:i386 (2.26-0ubuntu2) over (2.26-0ubuntu1) ... Setting up libc6:i386 (2.26-0ubuntu2) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../libc-bin_2.26-0ubuntu2_i386.deb ... Unpacking libc-bin (2.26-0ubuntu2) over (2.26-0ubuntu1) ... Setting up libc-bin (2.26-0ubuntu2) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../libudev1_234-2ubuntu12_i386.deb ... Unpacking libudev1:i386 (234-2ubuntu12) over (234-2ubuntu10) ... Setting up libudev1:i386 (234-2ubuntu12) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.5.1_i386.deb ... Unpacking libapt-pkg5.0:i386 (1.5.1) over (1.5~rc4) ... Setting up libapt-pkg5.0:i386 (1.5.1) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../gpgv_2.1.15-1ubuntu8_i386.deb ... Unpacking gpgv (2.1.15-1ubuntu8) over (2.1.15-1ubuntu7) ... Setting up gpgv (2.1.15-1ubuntu8) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../archives/apt_1.5.1_i386.deb ... Unpacking apt (1.5.1) over (1.5~rc4) ... Setting up apt (1.5.1) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.25-1.1_i386.deb ... Unpacking libcap2:i386 (1:2.25-1.1) over (1:2.25-1) ... Preparing to unpack .../libseccomp2_2.3.1-2.1ubuntu3_i386.deb ... Unpacking libseccomp2:i386 (2.3.1-2.1ubuntu3) over (2.3.1-2.1ubuntu2) ... Preparing to unpack .../systemd_234-2ubuntu12_i386.deb ... Unpacking systemd (234-2ubuntu12) over (234-2ubuntu10) ... Preparing to unpack .../libsystemd0_234-2ubuntu12_i386.deb ... Unpacking libsystemd0:i386 (234-2ubuntu12) over (234-2ubuntu10) ... Setting up libsystemd0:i386 (234-2ubuntu12) ... Setting up libcap2:i386 (1:2.25-1.1) ... Setting up libseccomp2:i386 (2.3.1-2.1ubuntu3) ... Setting up systemd (234-2ubuntu12) ... Removing empty /etc/rc.local addgroup: The group `systemd-journal' already exists as a system group. Exiting. Removed /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service. (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../systemd-sysv_234-2ubuntu12_i386.deb ... Unpacking systemd-sysv (234-2ubuntu12) over (234-2ubuntu10) ... Preparing to unpack .../libpcre3_2%3a8.39-5ubuntu3_i386.deb ... Unpacking libpcre3:i386 (2:8.39-5ubuntu3) over (2:8.39-4) ... Setting up libpcre3:i386 (2:8.39-5ubuntu3) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../libsemanage-common_2.7-2_all.deb ... Unpacking libsemanage-common (2.7-2) over (2.7-1) ... Setting up libsemanage-common (2.7-2) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.7-2_i386.deb ... Unpacking libsemanage1:i386 (2.7-2) over (2.7-1) ... Setting up libsemanage1:i386 (2.7-2) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../libnettle6_3.3-2_i386.deb ... Unpacking libnettle6:i386 (3.3-2) over (3.3-1) ... Setting up libnettle6:i386 (3.3-2) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../libhogweed4_3.3-2_i386.deb ... Unpacking libhogweed4:i386 (3.3-2) over (3.3-1) ... Setting up libhogweed4:i386 (3.3-2) ... (Reading database ... 12677 files and directories currently installed.) Preparing to unpack .../00-gnupg_2.1.15-1ubuntu8_i386.deb ... Unpacking gnupg (2.1.15-1ubuntu8) over (2.1.15-1ubuntu7) ... Preparing to unpack .../01-gnupg-agent_2.1.15-1ubuntu8_i386.deb ... Unpacking gnupg-agent (2.1.15-1ubuntu8) over (2.1.15-1ubuntu7) ... Preparing to unpack .../02-libsqlite3-0_3.20.1-2_i386.deb ... Unpacking libsqlite3-0:i386 (3.20.1-2) over (3.19.3-3) ... Preparing to unpack .../03-multiarch-support_2.26-0ubuntu2_i386.deb ... Unpacking multiarch-support (2.26-0ubuntu2) over (2.26-0ubuntu1) ... Preparing to unpack .../04-tzdata_2017c-1_all.deb ... Unpacking tzdata (2017c-1) over (2017b-2) ... Preparing to unpack .../05-libkeyutils1_1.5.9-9.1ubuntu1_i386.deb ... Unpacking libkeyutils1:i386 (1.5.9-9.1ubuntu1) over (1.5.9-9ubuntu1) ... Preparing to unpack .../06-libpng16-16_1.6.34-1_i386.deb ... Unpacking libpng16-16:i386 (1.6.34-1) over (1.6.32-2) ... Preparing to unpack .../07-libcurl3-gnutls_7.55.1-1ubuntu2.1_i386.deb ... Unpacking libcurl3-gnutls:i386 (7.55.1-1ubuntu2.1) over (7.55.1-1ubuntu1) ... Preparing to unpack .../08-apt-transport-https_1.5.1_i386.deb ... Unpacking apt-transport-https (1.5.1) over (1.5~rc4) ... Preparing to unpack .../09-dpkg-dev_1.19.0.4ubuntu1_all.deb ... Unpacking dpkg-dev (1.19.0.4ubuntu1) over (1.18.24ubuntu1) ... Preparing to unpack .../10-libdpkg-perl_1.19.0.4ubuntu1_all.deb ... Unpacking libdpkg-perl (1.19.0.4ubuntu1) over (1.18.24ubuntu1) ... Preparing to unpack .../11-build-essential_12.4ubuntu1_i386.deb ... Unpacking build-essential (12.4ubuntu1) over (12.1ubuntu2) ... Setting up libquadmath0:i386 (7.2.0-12ubuntu1) ... Setting up libgomp1:i386 (7.2.0-12ubuntu1) ... Setting up libatomic1:i386 (7.2.0-12ubuntu1) ... Setting up libcc1-0:i386 (7.2.0-12ubuntu1) ... Setting up libasan4:i386 (7.2.0-12ubuntu1) ... Setting up libpng16-16:i386 (1.6.34-1) ... Setting up libcilkrts5:i386 (7.2.0-12ubuntu1) ... Setting up libcurl3-gnutls:i386 (7.55.1-1ubuntu2.1) ... Setting up multiarch-support (2.26-0ubuntu2) ... Setting up tzdata (2017c-1) ... Current default time zone: 'Etc/UTC' Local time is now: Sat Oct 28 09:48:53 UTC 2017. Universal Time is now: Sat Oct 28 09:48:53 UTC 2017. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up systemd-sysv (234-2ubuntu12) ... Setting up libubsan0:i386 (7.2.0-12ubuntu1) ... Setting up linux-libc-dev:i386 (4.13.0-16.19) ... Setting up libdpkg-perl (1.19.0.4ubuntu1) ... Setting up cpp-7 (7.2.0-12ubuntu1) ... Setting up binutils-common:i386 (2.29.1-6ubuntu1) ... Setting up libmpx2:i386 (7.2.0-12ubuntu1) ... Processing triggers for libc-bin (2.26-0ubuntu2) ... Setting up libsqlite3-0:i386 (3.20.1-2) ... Setting up libc-dev-bin (2.26-0ubuntu2) ... Setting up libkeyutils1:i386 (1.5.9-9.1ubuntu1) ... Setting up gnupg-agent (2.1.15-1ubuntu8) ... Setting up libc6-dev:i386 (2.26-0ubuntu2) ... Setting up libitm1:i386 (7.2.0-12ubuntu1) ... Setting up apt-transport-https (1.5.1) ... Setting up libbinutils:i386 (2.29.1-6ubuntu1) ... Setting up gnupg (2.1.15-1ubuntu8) ... Setting up libgcc-7-dev:i386 (7.2.0-12ubuntu1) ... Setting up libstdc++-7-dev:i386 (7.2.0-12ubuntu1) ... Setting up binutils-i686-linux-gnu (2.29.1-6ubuntu1) ... Setting up binutils (2.29.1-6ubuntu1) ... Setting up gcc-7 (7.2.0-12ubuntu1) ... Setting up g++-7 (7.2.0-12ubuntu1) ... Setting up dpkg-dev (1.19.0.4ubuntu1) ... Setting up build-essential (12.4ubuntu1) ... Processing triggers for libc-bin (2.26-0ubuntu2) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-13635894 i386 bionic-proposed -c chroot:build-PACKAGEBUILD-13635894 --arch=i386 --dist=bionic-proposed --nolog coccinelle_1.0.4.deb-3build4.dsc Initiating build PACKAGEBUILD-13635894 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 i686 sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on lcy01-27.buildd +==============================================================================+ | coccinelle 1.0.4.deb-3build4 (i386) 28 Oct 2017 09:48 | +==============================================================================+ Package: coccinelle Version: 1.0.4.deb-3build4 Source Version: 1.0.4.deb-3build4 Distribution: bionic-proposed Machine Architecture: amd64 Host Architecture: i386 Build Architecture: i386 I: NOTICE: Log filtering will replace 'build/coccinelle-A8Pjdi/coccinelle-1.0.4.deb' with '<>' I: NOTICE: Log filtering will replace 'build/coccinelle-A8Pjdi' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-13635894/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- coccinelle_1.0.4.deb-3build4.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-KBqNqD/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-KBqNqD/apt_archive ./ InRelease Get:2 copy:/<>/resolver-KBqNqD/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-KBqNqD/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-KBqNqD/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-KBqNqD/apt_archive ./ Packages [524 B] Fetched 2857 B in 0s (0 B/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: libustr-1.0-1 Use 'apt autoremove' to remove it. The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-KBqNqD/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 12678 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_i386.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 8.9.7~), dh-ocaml (>= 1.0.3~), ocaml-nox (>= 3.11.1-3~), libpycaml-ocaml-dev (>= 0.82-13~), python (>= 2.6.6-3~), menhir (>= 20090204.dfsg), libmenhir-ocaml-dev (>= 20090204.dfsg), ocaml-findlib, ocaml-best-compilers, libpcre-ocaml-dev, pkg-config (>= 0.9.0), texlive-fonts-extra, texlive-fonts-recommended, texlive-latex-base, texlive-latex-extra, texlive-latex-recommended, libparmap-ocaml-dev (>= 1.0~rc4-5~), camlp4, dh-python, hevea, latexmk Filtered Build-Depends: debhelper (>= 8.9.7~), dh-ocaml (>= 1.0.3~), ocaml-nox (>= 3.11.1-3~), libpycaml-ocaml-dev (>= 0.82-13~), python (>= 2.6.6-3~), menhir (>= 20090204.dfsg), libmenhir-ocaml-dev (>= 20090204.dfsg), ocaml-findlib, ocaml-best-compilers, libpcre-ocaml-dev, pkg-config (>= 0.9.0), texlive-fonts-extra, texlive-fonts-recommended, texlive-latex-base, texlive-latex-extra, texlive-latex-recommended, libparmap-ocaml-dev (>= 1.0~rc4-5~), camlp4, dh-python, hevea, latexmk dpkg-deb: building package 'sbuild-build-depends-coccinelle-dummy' in '/<>/resolver-VOi2Pm/apt_archive/sbuild-build-depends-coccinelle-dummy.deb'. Ign:1 copy:/<>/resolver-VOi2Pm/apt_archive ./ InRelease Get:2 copy:/<>/resolver-VOi2Pm/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-VOi2Pm/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-VOi2Pm/apt_archive ./ Sources [402 B] Get:5 copy:/<>/resolver-VOi2Pm/apt_archive ./ Packages [726 B] Fetched 3247 B in 0s (293 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install coccinelle build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: libustr-1.0-1 Use 'apt autoremove' to remove it. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils camlp4 debhelper dh-autoreconf dh-ocaml dh-python dh-strip-nondeterminism file fontconfig fontconfig-config fonts-adf-accanthis fonts-adf-gillius fonts-adf-universalis fonts-cabin fonts-comfortaa fonts-croscore fonts-crosextra-caladea fonts-crosextra-carlito fonts-dejavu-core fonts-dejavu-extra fonts-ebgaramond fonts-ebgaramond-extra fonts-font-awesome fonts-freefont-otf fonts-freefont-ttf fonts-gfs-artemisia fonts-gfs-complutum fonts-gfs-didot fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-solomos fonts-junicode fonts-lato fonts-linuxlibertine fonts-lmodern fonts-lobster fonts-lobstertwo fonts-noto-hinted fonts-oflb-asana-math fonts-roboto-hinted fonts-sil-gentium fonts-sil-gentium-basic fonts-sil-gentiumplus fonts-sil-gentiumplus-compact fonts-stix gettext gettext-base ghostscript groff-base hevea intltool-debian latexmk libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libbsd0 libcairo2 libcamlp4-ocaml-dev libcroco3 libcups2 libcupsimage2 libdbus-1-3 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libfindlib-ocaml libfontconfig1 libfreetype6 libglib2.0-0 libgraphite2-3 libgs9 libgs9-common libharfbuzz-icu0 libharfbuzz0b libice6 libicu59 libijs-0.35 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libkpathsea6 liblcms2-2 libmagic-mgc libmagic1 libmenhir-ocaml-dev libmpdec2 libncurses5-dev libnetpbm10 libnspr4 libnss3 libpaper-utils libpaper1 libparmap-ocaml libparmap-ocaml-dev libpcre-ocaml libpcre-ocaml-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpipeline1 libpixman-1-0 libpoppler68 libpotrace0 libptexenc1 libpycaml-ocaml libpycaml-ocaml-dev libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib libsigsegv2 libsm6 libsynctex1 libtexlua52 libtexluajit2 libtiff5 libtimedate-perl libtinfo-dev libtool libx11-6 libx11-data libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxi6 libxml2 libxmu6 libxpm4 libxrender1 libxt6 libzzip-0-13 m4 man-db menhir mime-support netpbm ocaml-base-nox ocaml-compiler-libs ocaml-findlib ocaml-interp ocaml-nox pkg-config po-debconf poppler-data preview-latex-style python python-dev python-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-minimal python3.6 python3.6-minimal t1utils tex-common texlive-base texlive-binaries texlive-fonts-extra texlive-fonts-recommended texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures ucf x11-common xdg-utils Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make dwz git fontforge gettext-doc libasprintf-dev libgettextpo-dev ghostscript-x groff hevea-doc cups-common liblcms2-utils ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser menhir-doc ocaml-doc tuareg-mode | ocaml-mode libmail-box-perl poppler-utils fonts-japanese-mincho | fonts-ipafont-mincho fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum python-doc python-tk python2.7-doc binfmt-support python3-doc python3-tk python3-venv python3.6-venv python3.6-doc perl-tk xpdf-reader | pdf-viewer cm-super python-pygments libfile-which-perl libspreadsheet-parseexcel-perl texlive-pstricks dot2tex prerex ruby-tcltk | libtcltk-ruby libglib2.0-bin Recommended packages: curl | wget | lynx-cur gsfonts xpdf-reader | pdf-viewer libcupsfilters1 dbus libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs fonts-droid-fallback libltdl-dev libfindlib-ocaml-dev ledit | readline-editor libmail-sendmail-perl lmodern ruby wish texlive-fonts-extra-doc tex-gyre texlive-fonts-recommended-doc tipa texlive-latex-base-doc texlive-latex-extra-doc texlive-plain-generic texlive-latex-recommended-doc ruby | ruby-interpreter texlive-pictures-doc tk libfile-mimeinfo-perl libnet-dbus-perl libx11-protocol-perl x11-utils x11-xserver-utils The following packages will be REMOVED: pkg-create-dbgsym* The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils camlp4 debhelper dh-autoreconf dh-ocaml dh-python dh-strip-nondeterminism file fontconfig fontconfig-config fonts-adf-accanthis fonts-adf-gillius fonts-adf-universalis fonts-cabin fonts-comfortaa fonts-croscore fonts-crosextra-caladea fonts-crosextra-carlito fonts-dejavu-core fonts-dejavu-extra fonts-ebgaramond fonts-ebgaramond-extra fonts-font-awesome fonts-freefont-otf fonts-freefont-ttf fonts-gfs-artemisia fonts-gfs-complutum fonts-gfs-didot fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-solomos fonts-junicode fonts-lato fonts-linuxlibertine fonts-lmodern fonts-lobster fonts-lobstertwo fonts-noto-hinted fonts-oflb-asana-math fonts-roboto-hinted fonts-sil-gentium fonts-sil-gentium-basic fonts-sil-gentiumplus fonts-sil-gentiumplus-compact fonts-stix gettext gettext-base ghostscript groff-base hevea intltool-debian latexmk libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libbsd0 libcairo2 libcamlp4-ocaml-dev libcroco3 libcups2 libcupsimage2 libdbus-1-3 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libfindlib-ocaml libfontconfig1 libfreetype6 libglib2.0-0 libgraphite2-3 libgs9 libgs9-common libharfbuzz-icu0 libharfbuzz0b libice6 libicu59 libijs-0.35 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libkpathsea6 liblcms2-2 libmagic-mgc libmagic1 libmenhir-ocaml-dev libmpdec2 libncurses5-dev libnetpbm10 libnspr4 libnss3 libpaper-utils libpaper1 libparmap-ocaml libparmap-ocaml-dev libpcre-ocaml libpcre-ocaml-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpipeline1 libpixman-1-0 libpoppler68 libpotrace0 libptexenc1 libpycaml-ocaml libpycaml-ocaml-dev libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib libsigsegv2 libsm6 libsynctex1 libtexlua52 libtexluajit2 libtiff5 libtimedate-perl libtinfo-dev libtool libx11-6 libx11-data libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxi6 libxml2 libxmu6 libxpm4 libxrender1 libxt6 libzzip-0-13 m4 man-db menhir mime-support netpbm ocaml-base-nox ocaml-compiler-libs ocaml-findlib ocaml-interp ocaml-nox pkg-config po-debconf poppler-data preview-latex-style python python-dev python-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-minimal python3.6 python3.6-minimal sbuild-build-depends-coccinelle-dummy t1utils tex-common texlive-base texlive-binaries texlive-fonts-extra texlive-fonts-recommended texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures ucf x11-common xdg-utils 0 upgraded, 185 newly installed, 1 to remove and 0 not upgraded. Need to get 520 MB of archives. After this operation, 1688 MB of additional disk space will be used. Get:1 copy:/<>/resolver-VOi2Pm/apt_archive ./ sbuild-build-depends-coccinelle-dummy 0.invalid.0 [1056 B] Get:2 http://ftpmaster.internal/ubuntu bionic/main i386 libpython3.6-minimal i386 3.6.3-1ubuntu1 [530 kB] Get:3 http://ftpmaster.internal/ubuntu bionic/main i386 libexpat1 i386 2.2.3-1 [75.1 kB] Get:4 http://ftpmaster.internal/ubuntu bionic/main i386 python3.6-minimal i386 3.6.3-1ubuntu1 [1424 kB] Get:5 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 python3-minimal i386 3.6.3-2 [23.7 kB] Get:6 http://ftpmaster.internal/ubuntu bionic/main i386 mime-support all 3.60ubuntu1 [30.1 kB] Get:7 http://ftpmaster.internal/ubuntu bionic/main i386 libmpdec2 i386 2.4.2-1 [80.7 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/main i386 libpython3.6-stdlib i386 3.6.3-1ubuntu1 [2117 kB] Get:9 http://ftpmaster.internal/ubuntu bionic/main i386 python3.6 i386 3.6.3-1ubuntu1 [175 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libpython3-stdlib i386 3.6.3-2 [7200 B] Get:11 http://ftpmaster.internal/ubuntu bionic/main i386 dh-python all 2.20170125 [83.7 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 python3 i386 3.6.3-2 [8768 B] Get:13 http://ftpmaster.internal/ubuntu bionic/main i386 libxau6 i386 1:1.0.8-1 [8352 B] Get:14 http://ftpmaster.internal/ubuntu bionic/main i386 libbsd0 i386 0.8.6-1 [45.1 kB] Get:15 http://ftpmaster.internal/ubuntu bionic/main i386 libxdmcp6 i386 1:1.1.2-3 [11.1 kB] Get:16 http://ftpmaster.internal/ubuntu bionic/main i386 libxcb1 i386 1.12-1ubuntu1 [49.6 kB] Get:17 http://ftpmaster.internal/ubuntu bionic/main i386 libx11-data all 2:1.6.4-3 [114 kB] Get:18 http://ftpmaster.internal/ubuntu bionic/main i386 libx11-6 i386 2:1.6.4-3 [594 kB] Get:19 http://ftpmaster.internal/ubuntu bionic/main i386 libxext6 i386 2:1.3.3-1 [31.6 kB] Get:20 http://ftpmaster.internal/ubuntu bionic/main i386 groff-base i386 1.22.3-9 [1163 kB] Get:21 http://ftpmaster.internal/ubuntu bionic/main i386 bsdmainutils i386 9.0.12+nmu1ubuntu1 [181 kB] Get:22 http://ftpmaster.internal/ubuntu bionic/main i386 libpipeline1 i386 1.4.2-1 [26.8 kB] Get:23 http://ftpmaster.internal/ubuntu bionic/main i386 man-db i386 2.7.6.1-2 [906 kB] Get:24 http://ftpmaster.internal/ubuntu bionic/main i386 fonts-dejavu-core all 2.37-1 [1041 kB] Get:25 http://ftpmaster.internal/ubuntu bionic/main i386 fonts-freefont-ttf all 20120503-6 [4203 kB] Get:26 http://ftpmaster.internal/ubuntu bionic/main i386 ucf all 3.0036 [52.9 kB] Get:27 http://ftpmaster.internal/ubuntu bionic/main i386 fontconfig-config all 2.11.94-0ubuntu2 [49.9 kB] Get:28 http://ftpmaster.internal/ubuntu bionic/main i386 libfreetype6 i386 2.8-0.2ubuntu2 [349 kB] Get:29 http://ftpmaster.internal/ubuntu bionic/main i386 libfontconfig1 i386 2.11.94-0ubuntu2 [140 kB] Get:30 http://ftpmaster.internal/ubuntu bionic/main i386 fontconfig i386 2.11.94-0ubuntu2 [177 kB] Get:31 http://ftpmaster.internal/ubuntu bionic/main i386 fonts-lato all 2.0-2 [2698 kB] Get:32 http://ftpmaster.internal/ubuntu bionic/main i386 libjpeg-turbo8 i386 1.5.2-0ubuntu5 [118 kB] Get:33 http://ftpmaster.internal/ubuntu bionic/main i386 x11-common all 1:7.7+19ubuntu3 [22.0 kB] Get:34 http://ftpmaster.internal/ubuntu bionic/main i386 libice6 i386 2:1.0.9-2 [42.6 kB] Get:35 http://ftpmaster.internal/ubuntu bionic/main i386 libsm6 i386 2:1.2.2-1 [14.8 kB] Get:36 http://ftpmaster.internal/ubuntu bionic/main i386 poppler-data all 0.4.8-1 [1476 kB] Get:37 http://ftpmaster.internal/ubuntu bionic/main i386 libpython2.7-minimal i386 2.7.14-2ubuntu2 [338 kB] Get:38 http://ftpmaster.internal/ubuntu bionic/main i386 python2.7-minimal i386 2.7.14-2ubuntu2 [1320 kB] Get:39 http://ftpmaster.internal/ubuntu bionic/main i386 python-minimal i386 2.7.14-2ubuntu1 [28.1 kB] Get:40 http://ftpmaster.internal/ubuntu bionic/main i386 libpython2.7-stdlib i386 2.7.14-2ubuntu2 [1931 kB] Get:41 http://ftpmaster.internal/ubuntu bionic/main i386 python2.7 i386 2.7.14-2ubuntu2 [233 kB] Get:42 http://ftpmaster.internal/ubuntu bionic/main i386 libpython-stdlib i386 2.7.14-2ubuntu1 [7576 B] Get:43 http://ftpmaster.internal/ubuntu bionic/main i386 python i386 2.7.14-2ubuntu1 [140 kB] Get:44 http://ftpmaster.internal/ubuntu bionic/main i386 tex-common all 6.09 [33.0 kB] Get:45 http://ftpmaster.internal/ubuntu bionic/main i386 libjbig0 i386 2.1-3.1 [27.0 kB] Get:46 http://ftpmaster.internal/ubuntu bionic/main i386 libmagic-mgc i386 1:5.32-1 [184 kB] Get:47 http://ftpmaster.internal/ubuntu bionic/main i386 libmagic1 i386 1:5.32-1 [75.0 kB] Get:48 http://ftpmaster.internal/ubuntu bionic/main i386 file i386 1:5.32-1 [21.9 kB] Get:49 http://ftpmaster.internal/ubuntu bionic/main i386 libdbus-1-3 i386 1.10.22-1ubuntu1 [177 kB] Get:50 http://ftpmaster.internal/ubuntu bionic/main i386 libglib2.0-0 i386 2.54.1-1ubuntu1 [1231 kB] Get:51 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libicu59 i386 59.1-3ubuntu1 [7948 kB] Get:52 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libxml2 i386 2.9.4+dfsg1-5ubuntu1 [703 kB] Get:53 http://ftpmaster.internal/ubuntu bionic/main i386 gettext-base i386 0.19.8.1-4ubuntu1 [50.7 kB] Get:54 http://ftpmaster.internal/ubuntu bionic/main i386 libsigsegv2 i386 2.11-1 [13.5 kB] Get:55 http://ftpmaster.internal/ubuntu bionic/main i386 m4 i386 1.4.18-1 [196 kB] Get:56 http://ftpmaster.internal/ubuntu bionic/main i386 autoconf all 2.69-11 [322 kB] Get:57 http://ftpmaster.internal/ubuntu bionic/main i386 autotools-dev all 20161112.1 [39.5 kB] Get:58 http://ftpmaster.internal/ubuntu bionic/main i386 automake all 1:1.15.1-3ubuntu1 [509 kB] Get:59 http://ftpmaster.internal/ubuntu bionic/main i386 autopoint all 0.19.8.1-4ubuntu1 [412 kB] Get:60 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 ocaml-base-nox i386 4.05.0-10ubuntu1 [509 kB] Get:61 http://ftpmaster.internal/ubuntu bionic/main i386 libtinfo-dev i386 6.0+20160625-1ubuntu1 [76.2 kB] Get:62 http://ftpmaster.internal/ubuntu bionic/main i386 libncurses5-dev i386 6.0+20160625-1ubuntu1 [176 kB] Get:63 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 ocaml-compiler-libs i386 4.05.0-10ubuntu1 [18.9 MB] Get:64 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 ocaml-interp i386 4.05.0-10ubuntu1 [3466 kB] Get:65 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 ocaml-nox i386 4.05.0-10ubuntu1 [26.3 MB] Get:66 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 libcamlp4-ocaml-dev i386 4.05+1-2 [16.2 MB] Get:67 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 camlp4 i386 4.05+1-2 [4101 kB] Get:68 http://ftpmaster.internal/ubuntu bionic/main i386 libtool all 2.4.6-2 [194 kB] Get:69 http://ftpmaster.internal/ubuntu bionic/main i386 dh-autoreconf all 14 [15.5 kB] Get:70 http://ftpmaster.internal/ubuntu bionic/main i386 libarchive-zip-perl all 1.59-1 [84.0 kB] Get:71 http://ftpmaster.internal/ubuntu bionic/main i386 libfile-stripnondeterminism-perl all 0.038-1 [13.3 kB] Get:72 http://ftpmaster.internal/ubuntu bionic/main i386 libtimedate-perl all 2.3000-2 [37.5 kB] Get:73 http://ftpmaster.internal/ubuntu bionic/main i386 dh-strip-nondeterminism all 0.038-1 [5026 B] Get:74 http://ftpmaster.internal/ubuntu bionic/main i386 libcroco3 i386 0.6.12-1 [87.5 kB] Get:75 http://ftpmaster.internal/ubuntu bionic/main i386 gettext i386 0.19.8.1-4ubuntu1 [1097 kB] Get:76 http://ftpmaster.internal/ubuntu bionic/main i386 intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:77 http://ftpmaster.internal/ubuntu bionic/main i386 po-debconf all 1.0.20 [232 kB] Get:78 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 debhelper all 10.10.5ubuntu1 [876 kB] Get:79 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-adf-accanthis all 0.20110505-1 [202 kB] Get:80 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-adf-gillius all 0.20110505-1 [190 kB] Get:81 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-adf-universalis all 0.20110505-1 [111 kB] Get:82 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-cabin all 1.5-2 [140 kB] Get:83 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-comfortaa all 2.003-1 [131 kB] Get:84 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-croscore all 20161116-1 [2134 kB] Get:85 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-crosextra-caladea all 20130214-1 [82.3 kB] Get:86 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-crosextra-carlito all 20130920-1 [742 kB] Get:87 http://ftpmaster.internal/ubuntu bionic/main i386 fonts-dejavu-extra all 2.37-1 [1953 kB] Get:88 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-ebgaramond all 0.016-1 [474 kB] Get:89 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-ebgaramond-extra all 0.016-1 [2157 kB] Get:90 http://ftpmaster.internal/ubuntu bionic/main i386 fonts-font-awesome all 4.7.0~dfsg-3 [513 kB] Get:91 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-freefont-otf all 20120503-6 [3053 kB] Get:92 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-gfs-artemisia all 1.1-5 [260 kB] Get:93 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-gfs-complutum all 1.1-6 [41.6 kB] Get:94 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-gfs-didot all 1.1-6 [278 kB] Get:95 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-gfs-neohellenic all 1.1-6 [215 kB] Get:96 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-gfs-olga all 1.1-5 [33.4 kB] Get:97 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-gfs-solomos all 1.1-5 [40.7 kB] Get:98 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-junicode all 0.7.8-2 [642 kB] Get:99 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-linuxlibertine all 5.3.0-2 [1688 kB] Get:100 http://ftpmaster.internal/ubuntu bionic/main i386 fonts-lmodern all 2.004.5-3 [4551 kB] Get:101 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-lobster all 2.0-2 [38.7 kB] Get:102 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-lobstertwo all 2.0-2 [92.7 kB] Get:103 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-noto-hinted all 20161116-1 [5069 kB] Get:104 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-oflb-asana-math all 000.907-6 [246 kB] Get:105 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-roboto-hinted all 2:0~20160106-2 [2918 kB] Get:106 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-sil-gentium all 20081126:1.03-1 [247 kB] Get:107 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-sil-gentium-basic all 1.1-7 [379 kB] Get:108 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-sil-gentiumplus all 5.000-1 [2805 kB] Get:109 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-sil-gentiumplus-compact all 5.000-2 [1514 kB] Get:110 http://ftpmaster.internal/ubuntu bionic/main i386 libavahi-common-data i386 0.6.32-1ubuntu1 [22.0 kB] Get:111 http://ftpmaster.internal/ubuntu bionic/main i386 libavahi-common3 i386 0.6.32-1ubuntu1 [23.5 kB] Get:112 http://ftpmaster.internal/ubuntu bionic/main i386 libavahi-client3 i386 0.6.32-1ubuntu1 [27.1 kB] Get:113 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libcups2 i386 2.2.5-2 [224 kB] Get:114 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libcupsimage2 i386 2.2.5-2 [19.4 kB] Get:115 http://ftpmaster.internal/ubuntu bionic/main i386 libijs-0.35 i386 0.35-12 [16.0 kB] Get:116 http://ftpmaster.internal/ubuntu bionic/main i386 libjbig2dec0 i386 0.13-5 [58.7 kB] Get:117 http://ftpmaster.internal/ubuntu bionic/main i386 libjpeg8 i386 8c-2ubuntu8 [2188 B] Get:118 http://ftpmaster.internal/ubuntu bionic/main i386 liblcms2-2 i386 2.7-1ubuntu1 [148 kB] Get:119 http://ftpmaster.internal/ubuntu bionic/main i386 libpaper1 i386 1.1.24+nmu5ubuntu1 [13.7 kB] Get:120 http://ftpmaster.internal/ubuntu bionic/main i386 libtiff5 i386 4.0.8-5 [161 kB] Get:121 http://ftpmaster.internal/ubuntu bionic/main i386 libgs9-common all 9.21~dfsg+1-0ubuntu3 [5121 kB] Get:122 http://ftpmaster.internal/ubuntu bionic/main i386 libgs9 i386 9.21~dfsg+1-0ubuntu3 [2281 kB] Get:123 http://ftpmaster.internal/ubuntu bionic/main i386 ghostscript i386 9.21~dfsg+1-0ubuntu3 [49.8 kB] Get:124 http://ftpmaster.internal/ubuntu bionic/main i386 libnetpbm10 i386 2:10.0-15.3build1 [58.1 kB] Get:125 http://ftpmaster.internal/ubuntu bionic/main i386 netpbm i386 2:10.0-15.3build1 [941 kB] Get:126 http://ftpmaster.internal/ubuntu bionic/main i386 libpaper-utils i386 1.1.24+nmu5ubuntu1 [8248 B] Get:127 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libkpathsea6 i386 2017.20170613.44572-5build2 [59.0 kB] Get:128 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libptexenc1 i386 2017.20170613.44572-5build2 [35.2 kB] Get:129 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libsynctex1 i386 2017.20170613.44572-5build2 [43.5 kB] Get:130 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libtexlua52 i386 2017.20170613.44572-5build2 [99.5 kB] Get:131 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libtexluajit2 i386 2017.20170613.44572-5build2 [246 kB] Get:132 http://ftpmaster.internal/ubuntu bionic/main i386 t1utils i386 1.40-2 [56.5 kB] Get:133 http://ftpmaster.internal/ubuntu bionic/main i386 libpixman-1-0 i386 0.34.0-1 [235 kB] Get:134 http://ftpmaster.internal/ubuntu bionic/main i386 libxcb-render0 i386 1.12-1ubuntu1 [15.9 kB] Get:135 http://ftpmaster.internal/ubuntu bionic/main i386 libxcb-shm0 i386 1.12-1ubuntu1 [5624 B] Get:136 http://ftpmaster.internal/ubuntu bionic/main i386 libxrender1 i386 1:0.9.10-1 [19.9 kB] Get:137 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libcairo2 i386 1.15.8-2 [630 kB] Get:138 http://ftpmaster.internal/ubuntu bionic/main i386 libgraphite2-3 i386 1.3.10-2 [81.0 kB] Get:139 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libharfbuzz0b i386 1.4.2-1build1 [220 kB] Get:140 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 libharfbuzz-icu0 i386 1.4.2-1build1 [5330 B] Get:141 http://ftpmaster.internal/ubuntu bionic/main i386 libnspr4 i386 2:4.16-1ubuntu2 [121 kB] Get:142 http://ftpmaster.internal/ubuntu bionic/main i386 libnss3 i386 2:3.32-1ubuntu3 [1210 kB] Get:143 http://ftpmaster.internal/ubuntu bionic/main i386 libpoppler68 i386 0.57.0-2ubuntu4 [815 kB] Get:144 http://ftpmaster.internal/ubuntu bionic/main i386 libpotrace0 i386 1.14-2 [16.7 kB] Get:145 http://ftpmaster.internal/ubuntu bionic/main i386 libxt6 i386 1:1.1.5-1 [164 kB] Get:146 http://ftpmaster.internal/ubuntu bionic/main i386 libxmu6 i386 2:1.1.2-2 [48.4 kB] Get:147 http://ftpmaster.internal/ubuntu bionic/main i386 libxpm4 i386 1:3.5.12-1 [35.8 kB] Get:148 http://ftpmaster.internal/ubuntu bionic/main i386 libxaw7 i386 2:1.0.13-1 [182 kB] Get:149 http://ftpmaster.internal/ubuntu bionic/main i386 libxi6 i386 2:1.7.9-1 [31.7 kB] Get:150 http://ftpmaster.internal/ubuntu bionic/main i386 libzzip-0-13 i386 0.13.62-3.1 [27.6 kB] Get:151 http://ftpmaster.internal/ubuntu bionic-proposed/main i386 texlive-binaries i386 2017.20170613.44572-5build2 [8036 kB] Get:152 http://ftpmaster.internal/ubuntu bionic/main i386 xdg-utils all 1.1.1-1ubuntu3 [59.4 kB] Get:153 http://ftpmaster.internal/ubuntu bionic/main i386 texlive-base all 2017.20170818-1 [18.6 MB] Get:154 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 hevea all 2.30-1 [883 kB] Get:155 http://ftpmaster.internal/ubuntu bionic/main i386 texlive-latex-base all 2017.20170818-1 [946 kB] Get:156 http://ftpmaster.internal/ubuntu bionic/universe i386 latexmk all 1:4.41-1 [368 kB] Get:157 http://ftpmaster.internal/ubuntu bionic/main i386 libexpat1-dev i386 2.2.3-1 [125 kB] Get:158 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 libfindlib-ocaml i386 1.7.3-2 [156 kB] Get:159 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 libmenhir-ocaml-dev i386 20170712-1build1 [176 kB] Get:160 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 libparmap-ocaml i386 1.0~rc8-1build1 [34.7 kB] Get:161 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 libparmap-ocaml-dev i386 1.0~rc8-1build1 [35.5 kB] Get:162 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 libpcre-ocaml i386 7.2.3-2build1 [88.0 kB] Get:163 http://ftpmaster.internal/ubuntu bionic/main i386 libpcre16-3 i386 2:8.39-5ubuntu3 [148 kB] Get:164 http://ftpmaster.internal/ubuntu bionic/main i386 libpcre32-3 i386 2:8.39-5ubuntu3 [138 kB] Get:165 http://ftpmaster.internal/ubuntu bionic/main i386 libpcrecpp0v5 i386 2:8.39-5ubuntu3 [16.2 kB] Get:166 http://ftpmaster.internal/ubuntu bionic/main i386 libpcre3-dev i386 2:8.39-5ubuntu3 [536 kB] Get:167 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 ocaml-findlib i386 1.7.3-2 [342 kB] Get:168 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 libpcre-ocaml-dev i386 7.2.3-2build1 [226 kB] Get:169 http://ftpmaster.internal/ubuntu bionic/main i386 libpython2.7 i386 2.7.14-2ubuntu2 [1071 kB] Get:170 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 libpycaml-ocaml i386 0.82-15build1 [12.7 kB] Get:171 http://ftpmaster.internal/ubuntu bionic/main i386 libpython2.7-dev i386 2.7.14-2ubuntu2 [28.2 MB] Get:172 http://ftpmaster.internal/ubuntu bionic/main i386 libpython-dev i386 2.7.14-2ubuntu1 [7656 B] Get:173 http://ftpmaster.internal/ubuntu bionic/main i386 python2.7-dev i386 2.7.14-2ubuntu2 [278 kB] Get:174 http://ftpmaster.internal/ubuntu bionic/main i386 python-dev i386 2.7.14-2ubuntu1 [1168 B] Get:175 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 libpycaml-ocaml-dev i386 0.82-15build1 [351 kB] Get:176 http://ftpmaster.internal/ubuntu bionic-proposed/universe i386 menhir i386 20170712-1build1 [544 kB] Get:177 http://ftpmaster.internal/ubuntu bionic/main i386 pkg-config i386 0.29.1-0ubuntu2 [45.8 kB] Get:178 http://ftpmaster.internal/ubuntu bionic/main i386 preview-latex-style all 11.90-2ubuntu1 [184 kB] Get:179 http://ftpmaster.internal/ubuntu bionic/universe i386 fonts-stix all 1.1.1-4 [591 kB] Get:180 http://ftpmaster.internal/ubuntu bionic/universe i386 texlive-fonts-extra all 2017.20170818-1 [270 MB] Get:181 http://ftpmaster.internal/ubuntu bionic/universe i386 texlive-fonts-recommended all 2017.20170818-1 [5280 kB] Get:182 http://ftpmaster.internal/ubuntu bionic/main i386 texlive-latex-recommended all 2017.20170818-1 [14.8 MB] Get:183 http://ftpmaster.internal/ubuntu bionic/universe i386 texlive-pictures all 2017.20170818-1 [3978 kB] Get:184 http://ftpmaster.internal/ubuntu bionic/universe i386 texlive-latex-extra all 2017.20170818-1 [10.4 MB] Get:185 http://ftpmaster.internal/ubuntu bionic/universe i386 dh-ocaml all 1.1.0 [79.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 520 MB in 16s (30.9 MB/s) (Reading database ... 12678 files and directories currently installed.) Removing pkg-create-dbgsym (0.73) ... Selecting previously unselected package libpython3.6-minimal:i386. (Reading database ... 12669 files and directories currently installed.) Preparing to unpack .../0-libpython3.6-minimal_3.6.3-1ubuntu1_i386.deb ... Unpacking libpython3.6-minimal:i386 (3.6.3-1ubuntu1) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../1-libexpat1_2.2.3-1_i386.deb ... Unpacking libexpat1:i386 (2.2.3-1) ... Selecting previously unselected package python3.6-minimal. Preparing to unpack .../2-python3.6-minimal_3.6.3-1ubuntu1_i386.deb ... Unpacking python3.6-minimal (3.6.3-1ubuntu1) ... Selecting previously unselected package python3-minimal. Preparing to unpack .../3-python3-minimal_3.6.3-2_i386.deb ... Unpacking python3-minimal (3.6.3-2) ... Selecting previously unselected package mime-support. Preparing to unpack .../4-mime-support_3.60ubuntu1_all.deb ... Unpacking mime-support (3.60ubuntu1) ... Selecting previously unselected package libmpdec2:i386. Preparing to unpack .../5-libmpdec2_2.4.2-1_i386.deb ... Unpacking libmpdec2:i386 (2.4.2-1) ... Selecting previously unselected package libpython3.6-stdlib:i386. Preparing to unpack .../6-libpython3.6-stdlib_3.6.3-1ubuntu1_i386.deb ... Unpacking libpython3.6-stdlib:i386 (3.6.3-1ubuntu1) ... Selecting previously unselected package python3.6. Preparing to unpack .../7-python3.6_3.6.3-1ubuntu1_i386.deb ... Unpacking python3.6 (3.6.3-1ubuntu1) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../8-libpython3-stdlib_3.6.3-2_i386.deb ... Unpacking libpython3-stdlib:i386 (3.6.3-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../9-dh-python_2.20170125_all.deb ... Unpacking dh-python (2.20170125) ... Setting up libpython3.6-minimal:i386 (3.6.3-1ubuntu1) ... Setting up libexpat1:i386 (2.2.3-1) ... Setting up python3.6-minimal (3.6.3-1ubuntu1) ... Setting up python3-minimal (3.6.3-2) ... Selecting previously unselected package python3. (Reading database ... 13627 files and directories currently installed.) Preparing to unpack .../00-python3_3.6.3-2_i386.deb ... Unpacking python3 (3.6.3-2) ... Selecting previously unselected package libxau6:i386. Preparing to unpack .../01-libxau6_1%3a1.0.8-1_i386.deb ... Unpacking libxau6:i386 (1:1.0.8-1) ... Selecting previously unselected package libbsd0:i386. Preparing to unpack .../02-libbsd0_0.8.6-1_i386.deb ... Unpacking libbsd0:i386 (0.8.6-1) ... Selecting previously unselected package libxdmcp6:i386. Preparing to unpack .../03-libxdmcp6_1%3a1.1.2-3_i386.deb ... Unpacking libxdmcp6:i386 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:i386. Preparing to unpack .../04-libxcb1_1.12-1ubuntu1_i386.deb ... Unpacking libxcb1:i386 (1.12-1ubuntu1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../05-libx11-data_2%3a1.6.4-3_all.deb ... Unpacking libx11-data (2:1.6.4-3) ... Selecting previously unselected package libx11-6:i386. Preparing to unpack .../06-libx11-6_2%3a1.6.4-3_i386.deb ... Unpacking libx11-6:i386 (2:1.6.4-3) ... Selecting previously unselected package libxext6:i386. Preparing to unpack .../07-libxext6_2%3a1.3.3-1_i386.deb ... Unpacking libxext6:i386 (2:1.3.3-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../08-groff-base_1.22.3-9_i386.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../09-bsdmainutils_9.0.12+nmu1ubuntu1_i386.deb ... Unpacking bsdmainutils (9.0.12+nmu1ubuntu1) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../10-libpipeline1_1.4.2-1_i386.deb ... Unpacking libpipeline1:i386 (1.4.2-1) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.7.6.1-2_i386.deb ... Unpacking man-db (2.7.6.1-2) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../12-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fonts-freefont-ttf. Preparing to unpack .../13-fonts-freefont-ttf_20120503-6_all.deb ... Unpacking fonts-freefont-ttf (20120503-6) ... Selecting previously unselected package ucf. Preparing to unpack .../14-ucf_3.0036_all.deb ... Moving old data out of the way Unpacking ucf (3.0036) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../15-fontconfig-config_2.11.94-0ubuntu2_all.deb ... Unpacking fontconfig-config (2.11.94-0ubuntu2) ... Selecting previously unselected package libfreetype6:i386. Preparing to unpack .../16-libfreetype6_2.8-0.2ubuntu2_i386.deb ... Unpacking libfreetype6:i386 (2.8-0.2ubuntu2) ... Selecting previously unselected package libfontconfig1:i386. Preparing to unpack .../17-libfontconfig1_2.11.94-0ubuntu2_i386.deb ... Unpacking libfontconfig1:i386 (2.11.94-0ubuntu2) ... Selecting previously unselected package fontconfig. Preparing to unpack .../18-fontconfig_2.11.94-0ubuntu2_i386.deb ... Unpacking fontconfig (2.11.94-0ubuntu2) ... Selecting previously unselected package fonts-lato. Preparing to unpack .../19-fonts-lato_2.0-2_all.deb ... Unpacking fonts-lato (2.0-2) ... Selecting previously unselected package libjpeg-turbo8:i386. Preparing to unpack .../20-libjpeg-turbo8_1.5.2-0ubuntu5_i386.deb ... Unpacking libjpeg-turbo8:i386 (1.5.2-0ubuntu5) ... Selecting previously unselected package x11-common. Preparing to unpack .../21-x11-common_1%3a7.7+19ubuntu3_all.deb ... Unpacking x11-common (1:7.7+19ubuntu3) ... Selecting previously unselected package libice6:i386. Preparing to unpack .../22-libice6_2%3a1.0.9-2_i386.deb ... Unpacking libice6:i386 (2:1.0.9-2) ... Selecting previously unselected package libsm6:i386. Preparing to unpack .../23-libsm6_2%3a1.2.2-1_i386.deb ... Unpacking libsm6:i386 (2:1.2.2-1) ... Selecting previously unselected package poppler-data. Preparing to unpack .../24-poppler-data_0.4.8-1_all.deb ... Unpacking poppler-data (0.4.8-1) ... Selecting previously unselected package libpython2.7-minimal:i386. Preparing to unpack .../25-libpython2.7-minimal_2.7.14-2ubuntu2_i386.deb ... Unpacking libpython2.7-minimal:i386 (2.7.14-2ubuntu2) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../26-python2.7-minimal_2.7.14-2ubuntu2_i386.deb ... Unpacking python2.7-minimal (2.7.14-2ubuntu2) ... Selecting previously unselected package python-minimal. Preparing to unpack .../27-python-minimal_2.7.14-2ubuntu1_i386.deb ... Unpacking python-minimal (2.7.14-2ubuntu1) ... Selecting previously unselected package libpython2.7-stdlib:i386. Preparing to unpack .../28-libpython2.7-stdlib_2.7.14-2ubuntu2_i386.deb ... Unpacking libpython2.7-stdlib:i386 (2.7.14-2ubuntu2) ... Selecting previously unselected package python2.7. Preparing to unpack .../29-python2.7_2.7.14-2ubuntu2_i386.deb ... Unpacking python2.7 (2.7.14-2ubuntu2) ... Selecting previously unselected package libpython-stdlib:i386. Preparing to unpack .../30-libpython-stdlib_2.7.14-2ubuntu1_i386.deb ... Unpacking libpython-stdlib:i386 (2.7.14-2ubuntu1) ... Setting up libpython2.7-minimal:i386 (2.7.14-2ubuntu2) ... Setting up python2.7-minimal (2.7.14-2ubuntu2) ... Setting up python-minimal (2.7.14-2ubuntu1) ... Selecting previously unselected package python. (Reading database ... 15960 files and directories currently installed.) Preparing to unpack .../000-python_2.7.14-2ubuntu1_i386.deb ... Unpacking python (2.7.14-2ubuntu1) ... Selecting previously unselected package tex-common. Preparing to unpack .../001-tex-common_6.09_all.deb ... Unpacking tex-common (6.09) ... Selecting previously unselected package libjbig0:i386. Preparing to unpack .../002-libjbig0_2.1-3.1_i386.deb ... Unpacking libjbig0:i386 (2.1-3.1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../003-libmagic-mgc_1%3a5.32-1_i386.deb ... Unpacking libmagic-mgc (1:5.32-1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../004-libmagic1_1%3a5.32-1_i386.deb ... Unpacking libmagic1:i386 (1:5.32-1) ... Selecting previously unselected package file. Preparing to unpack .../005-file_1%3a5.32-1_i386.deb ... Unpacking file (1:5.32-1) ... Selecting previously unselected package libdbus-1-3:i386. Preparing to unpack .../006-libdbus-1-3_1.10.22-1ubuntu1_i386.deb ... Unpacking libdbus-1-3:i386 (1.10.22-1ubuntu1) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../007-libglib2.0-0_2.54.1-1ubuntu1_i386.deb ... Unpacking libglib2.0-0:i386 (2.54.1-1ubuntu1) ... Selecting previously unselected package libicu59:i386. Preparing to unpack .../008-libicu59_59.1-3ubuntu1_i386.deb ... Unpacking libicu59:i386 (59.1-3ubuntu1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../009-libxml2_2.9.4+dfsg1-5ubuntu1_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-5ubuntu1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../010-gettext-base_0.19.8.1-4ubuntu1_i386.deb ... Unpacking gettext-base (0.19.8.1-4ubuntu1) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../011-libsigsegv2_2.11-1_i386.deb ... Unpacking libsigsegv2:i386 (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../012-m4_1.4.18-1_i386.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../013-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../014-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../015-automake_1%3a1.15.1-3ubuntu1_all.deb ... Unpacking automake (1:1.15.1-3ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../016-autopoint_0.19.8.1-4ubuntu1_all.deb ... Unpacking autopoint (0.19.8.1-4ubuntu1) ... Selecting previously unselected package ocaml-base-nox. Preparing to unpack .../017-ocaml-base-nox_4.05.0-10ubuntu1_i386.deb ... Unpacking ocaml-base-nox (4.05.0-10ubuntu1) ... Selecting previously unselected package libtinfo-dev:i386. Preparing to unpack .../018-libtinfo-dev_6.0+20160625-1ubuntu1_i386.deb ... Unpacking libtinfo-dev:i386 (6.0+20160625-1ubuntu1) ... Selecting previously unselected package libncurses5-dev:i386. Preparing to unpack .../019-libncurses5-dev_6.0+20160625-1ubuntu1_i386.deb ... Unpacking libncurses5-dev:i386 (6.0+20160625-1ubuntu1) ... Selecting previously unselected package ocaml-compiler-libs. Preparing to unpack .../020-ocaml-compiler-libs_4.05.0-10ubuntu1_i386.deb ... Unpacking ocaml-compiler-libs (4.05.0-10ubuntu1) ... Selecting previously unselected package ocaml-interp. Preparing to unpack .../021-ocaml-interp_4.05.0-10ubuntu1_i386.deb ... Unpacking ocaml-interp (4.05.0-10ubuntu1) ... Selecting previously unselected package ocaml-nox. Preparing to unpack .../022-ocaml-nox_4.05.0-10ubuntu1_i386.deb ... Unpacking ocaml-nox (4.05.0-10ubuntu1) ... Selecting previously unselected package libcamlp4-ocaml-dev. Preparing to unpack .../023-libcamlp4-ocaml-dev_4.05+1-2_i386.deb ... Unpacking libcamlp4-ocaml-dev (4.05+1-2) ... Selecting previously unselected package camlp4. Preparing to unpack .../024-camlp4_4.05+1-2_i386.deb ... Unpacking camlp4 (4.05+1-2) ... Selecting previously unselected package libtool. Preparing to unpack .../025-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../026-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../027-libarchive-zip-perl_1.59-1_all.deb ... Unpacking libarchive-zip-perl (1.59-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../028-libfile-stripnondeterminism-perl_0.038-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.038-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../029-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../030-dh-strip-nondeterminism_0.038-1_all.deb ... Unpacking dh-strip-nondeterminism (0.038-1) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../031-libcroco3_0.6.12-1_i386.deb ... Unpacking libcroco3:i386 (0.6.12-1) ... Selecting previously unselected package gettext. Preparing to unpack .../032-gettext_0.19.8.1-4ubuntu1_i386.deb ... Unpacking gettext (0.19.8.1-4ubuntu1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../033-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../034-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../035-debhelper_10.10.5ubuntu1_all.deb ... Unpacking debhelper (10.10.5ubuntu1) ... Selecting previously unselected package fonts-adf-accanthis. Preparing to unpack .../036-fonts-adf-accanthis_0.20110505-1_all.deb ... Unpacking fonts-adf-accanthis (0.20110505-1) ... Selecting previously unselected package fonts-adf-gillius. Preparing to unpack .../037-fonts-adf-gillius_0.20110505-1_all.deb ... Unpacking fonts-adf-gillius (0.20110505-1) ... Selecting previously unselected package fonts-adf-universalis. Preparing to unpack .../038-fonts-adf-universalis_0.20110505-1_all.deb ... Unpacking fonts-adf-universalis (0.20110505-1) ... Selecting previously unselected package fonts-cabin. Preparing to unpack .../039-fonts-cabin_1.5-2_all.deb ... Unpacking fonts-cabin (1.5-2) ... Selecting previously unselected package fonts-comfortaa. Preparing to unpack .../040-fonts-comfortaa_2.003-1_all.deb ... Unpacking fonts-comfortaa (2.003-1) ... Selecting previously unselected package fonts-croscore. Preparing to unpack .../041-fonts-croscore_20161116-1_all.deb ... Unpacking fonts-croscore (20161116-1) ... Selecting previously unselected package fonts-crosextra-caladea. Preparing to unpack .../042-fonts-crosextra-caladea_20130214-1_all.deb ... Unpacking fonts-crosextra-caladea (20130214-1) ... Selecting previously unselected package fonts-crosextra-carlito. Preparing to unpack .../043-fonts-crosextra-carlito_20130920-1_all.deb ... Unpacking fonts-crosextra-carlito (20130920-1) ... Selecting previously unselected package fonts-dejavu-extra. Preparing to unpack .../044-fonts-dejavu-extra_2.37-1_all.deb ... Unpacking fonts-dejavu-extra (2.37-1) ... Selecting previously unselected package fonts-ebgaramond. Preparing to unpack .../045-fonts-ebgaramond_0.016-1_all.deb ... Unpacking fonts-ebgaramond (0.016-1) ... Selecting previously unselected package fonts-ebgaramond-extra. Preparing to unpack .../046-fonts-ebgaramond-extra_0.016-1_all.deb ... Unpacking fonts-ebgaramond-extra (0.016-1) ... Selecting previously unselected package fonts-font-awesome. Preparing to unpack .../047-fonts-font-awesome_4.7.0~dfsg-3_all.deb ... Unpacking fonts-font-awesome (4.7.0~dfsg-3) ... Selecting previously unselected package fonts-freefont-otf. Preparing to unpack .../048-fonts-freefont-otf_20120503-6_all.deb ... Unpacking fonts-freefont-otf (20120503-6) ... Selecting previously unselected package fonts-gfs-artemisia. Preparing to unpack .../049-fonts-gfs-artemisia_1.1-5_all.deb ... Unpacking fonts-gfs-artemisia (1.1-5) ... Selecting previously unselected package fonts-gfs-complutum. Preparing to unpack .../050-fonts-gfs-complutum_1.1-6_all.deb ... Unpacking fonts-gfs-complutum (1.1-6) ... Selecting previously unselected package fonts-gfs-didot. Preparing to unpack .../051-fonts-gfs-didot_1.1-6_all.deb ... Unpacking fonts-gfs-didot (1.1-6) ... Selecting previously unselected package fonts-gfs-neohellenic. Preparing to unpack .../052-fonts-gfs-neohellenic_1.1-6_all.deb ... Unpacking fonts-gfs-neohellenic (1.1-6) ... Selecting previously unselected package fonts-gfs-olga. Preparing to unpack .../053-fonts-gfs-olga_1.1-5_all.deb ... Unpacking fonts-gfs-olga (1.1-5) ... Selecting previously unselected package fonts-gfs-solomos. Preparing to unpack .../054-fonts-gfs-solomos_1.1-5_all.deb ... Unpacking fonts-gfs-solomos (1.1-5) ... Selecting previously unselected package fonts-junicode. Preparing to unpack .../055-fonts-junicode_0.7.8-2_all.deb ... Unpacking fonts-junicode (0.7.8-2) ... Selecting previously unselected package fonts-linuxlibertine. Preparing to unpack .../056-fonts-linuxlibertine_5.3.0-2_all.deb ... Unpacking fonts-linuxlibertine (5.3.0-2) ... Selecting previously unselected package fonts-lmodern. Preparing to unpack .../057-fonts-lmodern_2.004.5-3_all.deb ... Unpacking fonts-lmodern (2.004.5-3) ... Selecting previously unselected package fonts-lobster. Preparing to unpack .../058-fonts-lobster_2.0-2_all.deb ... Unpacking fonts-lobster (2.0-2) ... Selecting previously unselected package fonts-lobstertwo. Preparing to unpack .../059-fonts-lobstertwo_2.0-2_all.deb ... Unpacking fonts-lobstertwo (2.0-2) ... Selecting previously unselected package fonts-noto-hinted. Preparing to unpack .../060-fonts-noto-hinted_20161116-1_all.deb ... Unpacking fonts-noto-hinted (20161116-1) ... Selecting previously unselected package fonts-oflb-asana-math. Preparing to unpack .../061-fonts-oflb-asana-math_000.907-6_all.deb ... Unpacking fonts-oflb-asana-math (000.907-6) ... Selecting previously unselected package fonts-roboto-hinted. Preparing to unpack .../062-fonts-roboto-hinted_2%3a0~20160106-2_all.deb ... Unpacking fonts-roboto-hinted (2:0~20160106-2) ... Selecting previously unselected package fonts-sil-gentium. Preparing to unpack .../063-fonts-sil-gentium_20081126%3a1.03-1_all.deb ... Unpacking fonts-sil-gentium (20081126:1.03-1) ... Selecting previously unselected package fonts-sil-gentium-basic. Preparing to unpack .../064-fonts-sil-gentium-basic_1.1-7_all.deb ... Unpacking fonts-sil-gentium-basic (1.1-7) ... Selecting previously unselected package fonts-sil-gentiumplus. Preparing to unpack .../065-fonts-sil-gentiumplus_5.000-1_all.deb ... Unpacking fonts-sil-gentiumplus (5.000-1) ... Selecting previously unselected package fonts-sil-gentiumplus-compact. Preparing to unpack .../066-fonts-sil-gentiumplus-compact_5.000-2_all.deb ... Unpacking fonts-sil-gentiumplus-compact (5.000-2) ... Selecting previously unselected package libavahi-common-data:i386. Preparing to unpack .../067-libavahi-common-data_0.6.32-1ubuntu1_i386.deb ... Unpacking libavahi-common-data:i386 (0.6.32-1ubuntu1) ... Selecting previously unselected package libavahi-common3:i386. Preparing to unpack .../068-libavahi-common3_0.6.32-1ubuntu1_i386.deb ... Unpacking libavahi-common3:i386 (0.6.32-1ubuntu1) ... Selecting previously unselected package libavahi-client3:i386. Preparing to unpack .../069-libavahi-client3_0.6.32-1ubuntu1_i386.deb ... Unpacking libavahi-client3:i386 (0.6.32-1ubuntu1) ... Selecting previously unselected package libcups2:i386. Preparing to unpack .../070-libcups2_2.2.5-2_i386.deb ... Unpacking libcups2:i386 (2.2.5-2) ... Selecting previously unselected package libcupsimage2:i386. Preparing to unpack .../071-libcupsimage2_2.2.5-2_i386.deb ... Unpacking libcupsimage2:i386 (2.2.5-2) ... Selecting previously unselected package libijs-0.35:i386. Preparing to unpack .../072-libijs-0.35_0.35-12_i386.deb ... Unpacking libijs-0.35:i386 (0.35-12) ... Selecting previously unselected package libjbig2dec0:i386. Preparing to unpack .../073-libjbig2dec0_0.13-5_i386.deb ... Unpacking libjbig2dec0:i386 (0.13-5) ... Selecting previously unselected package libjpeg8:i386. Preparing to unpack .../074-libjpeg8_8c-2ubuntu8_i386.deb ... Unpacking libjpeg8:i386 (8c-2ubuntu8) ... Selecting previously unselected package liblcms2-2:i386. Preparing to unpack .../075-liblcms2-2_2.7-1ubuntu1_i386.deb ... Unpacking liblcms2-2:i386 (2.7-1ubuntu1) ... Selecting previously unselected package libpaper1:i386. Preparing to unpack .../076-libpaper1_1.1.24+nmu5ubuntu1_i386.deb ... Unpacking libpaper1:i386 (1.1.24+nmu5ubuntu1) ... Selecting previously unselected package libtiff5:i386. Preparing to unpack .../077-libtiff5_4.0.8-5_i386.deb ... Unpacking libtiff5:i386 (4.0.8-5) ... Selecting previously unselected package libgs9-common. Preparing to unpack .../078-libgs9-common_9.21~dfsg+1-0ubuntu3_all.deb ... Unpacking libgs9-common (9.21~dfsg+1-0ubuntu3) ... Selecting previously unselected package libgs9:i386. Preparing to unpack .../079-libgs9_9.21~dfsg+1-0ubuntu3_i386.deb ... Unpacking libgs9:i386 (9.21~dfsg+1-0ubuntu3) ... Selecting previously unselected package ghostscript. Preparing to unpack .../080-ghostscript_9.21~dfsg+1-0ubuntu3_i386.deb ... Unpacking ghostscript (9.21~dfsg+1-0ubuntu3) ... Selecting previously unselected package libnetpbm10. Preparing to unpack .../081-libnetpbm10_2%3a10.0-15.3build1_i386.deb ... Unpacking libnetpbm10 (2:10.0-15.3build1) ... Selecting previously unselected package netpbm. Preparing to unpack .../082-netpbm_2%3a10.0-15.3build1_i386.deb ... Unpacking netpbm (2:10.0-15.3build1) ... Selecting previously unselected package libpaper-utils. Preparing to unpack .../083-libpaper-utils_1.1.24+nmu5ubuntu1_i386.deb ... Unpacking libpaper-utils (1.1.24+nmu5ubuntu1) ... Selecting previously unselected package libkpathsea6:i386. Preparing to unpack .../084-libkpathsea6_2017.20170613.44572-5build2_i386.deb ... Unpacking libkpathsea6:i386 (2017.20170613.44572-5build2) ... Selecting previously unselected package libptexenc1:i386. Preparing to unpack .../085-libptexenc1_2017.20170613.44572-5build2_i386.deb ... Unpacking libptexenc1:i386 (2017.20170613.44572-5build2) ... Selecting previously unselected package libsynctex1:i386. Preparing to unpack .../086-libsynctex1_2017.20170613.44572-5build2_i386.deb ... Unpacking libsynctex1:i386 (2017.20170613.44572-5build2) ... Selecting previously unselected package libtexlua52:i386. Preparing to unpack .../087-libtexlua52_2017.20170613.44572-5build2_i386.deb ... Unpacking libtexlua52:i386 (2017.20170613.44572-5build2) ... Selecting previously unselected package libtexluajit2:i386. Preparing to unpack .../088-libtexluajit2_2017.20170613.44572-5build2_i386.deb ... Unpacking libtexluajit2:i386 (2017.20170613.44572-5build2) ... Selecting previously unselected package t1utils. Preparing to unpack .../089-t1utils_1.40-2_i386.deb ... Unpacking t1utils (1.40-2) ... Selecting previously unselected package libpixman-1-0:i386. Preparing to unpack .../090-libpixman-1-0_0.34.0-1_i386.deb ... Unpacking libpixman-1-0:i386 (0.34.0-1) ... Selecting previously unselected package libxcb-render0:i386. Preparing to unpack .../091-libxcb-render0_1.12-1ubuntu1_i386.deb ... Unpacking libxcb-render0:i386 (1.12-1ubuntu1) ... Selecting previously unselected package libxcb-shm0:i386. Preparing to unpack .../092-libxcb-shm0_1.12-1ubuntu1_i386.deb ... Unpacking libxcb-shm0:i386 (1.12-1ubuntu1) ... Selecting previously unselected package libxrender1:i386. Preparing to unpack .../093-libxrender1_1%3a0.9.10-1_i386.deb ... Unpacking libxrender1:i386 (1:0.9.10-1) ... Selecting previously unselected package libcairo2:i386. Preparing to unpack .../094-libcairo2_1.15.8-2_i386.deb ... Unpacking libcairo2:i386 (1.15.8-2) ... Selecting previously unselected package libgraphite2-3:i386. Preparing to unpack .../095-libgraphite2-3_1.3.10-2_i386.deb ... Unpacking libgraphite2-3:i386 (1.3.10-2) ... Selecting previously unselected package libharfbuzz0b:i386. Preparing to unpack .../096-libharfbuzz0b_1.4.2-1build1_i386.deb ... Unpacking libharfbuzz0b:i386 (1.4.2-1build1) ... Selecting previously unselected package libharfbuzz-icu0:i386. Preparing to unpack .../097-libharfbuzz-icu0_1.4.2-1build1_i386.deb ... Unpacking libharfbuzz-icu0:i386 (1.4.2-1build1) ... Selecting previously unselected package libnspr4:i386. Preparing to unpack .../098-libnspr4_2%3a4.16-1ubuntu2_i386.deb ... Unpacking libnspr4:i386 (2:4.16-1ubuntu2) ... Selecting previously unselected package libnss3:i386. Preparing to unpack .../099-libnss3_2%3a3.32-1ubuntu3_i386.deb ... Unpacking libnss3:i386 (2:3.32-1ubuntu3) ... Selecting previously unselected package libpoppler68:i386. Preparing to unpack .../100-libpoppler68_0.57.0-2ubuntu4_i386.deb ... Unpacking libpoppler68:i386 (0.57.0-2ubuntu4) ... Selecting previously unselected package libpotrace0. Preparing to unpack .../101-libpotrace0_1.14-2_i386.deb ... Unpacking libpotrace0 (1.14-2) ... Selecting previously unselected package libxt6:i386. Preparing to unpack .../102-libxt6_1%3a1.1.5-1_i386.deb ... Unpacking libxt6:i386 (1:1.1.5-1) ... Selecting previously unselected package libxmu6:i386. Preparing to unpack .../103-libxmu6_2%3a1.1.2-2_i386.deb ... Unpacking libxmu6:i386 (2:1.1.2-2) ... Selecting previously unselected package libxpm4:i386. Preparing to unpack .../104-libxpm4_1%3a3.5.12-1_i386.deb ... Unpacking libxpm4:i386 (1:3.5.12-1) ... Selecting previously unselected package libxaw7:i386. Preparing to unpack .../105-libxaw7_2%3a1.0.13-1_i386.deb ... Unpacking libxaw7:i386 (2:1.0.13-1) ... Selecting previously unselected package libxi6:i386. Preparing to unpack .../106-libxi6_2%3a1.7.9-1_i386.deb ... Unpacking libxi6:i386 (2:1.7.9-1) ... Selecting previously unselected package libzzip-0-13:i386. Preparing to unpack .../107-libzzip-0-13_0.13.62-3.1_i386.deb ... Unpacking libzzip-0-13:i386 (0.13.62-3.1) ... Selecting previously unselected package texlive-binaries. Preparing to unpack .../108-texlive-binaries_2017.20170613.44572-5build2_i386.deb ... Unpacking texlive-binaries (2017.20170613.44572-5build2) ... Selecting previously unselected package xdg-utils. Preparing to unpack .../109-xdg-utils_1.1.1-1ubuntu3_all.deb ... Unpacking xdg-utils (1.1.1-1ubuntu3) ... Selecting previously unselected package texlive-base. Preparing to unpack .../110-texlive-base_2017.20170818-1_all.deb ... Unpacking texlive-base (2017.20170818-1) ... Selecting previously unselected package hevea. Preparing to unpack .../111-hevea_2.30-1_all.deb ... Unpacking hevea (2.30-1) ... Selecting previously unselected package texlive-latex-base. Preparing to unpack .../112-texlive-latex-base_2017.20170818-1_all.deb ... Unpacking texlive-latex-base (2017.20170818-1) ... Selecting previously unselected package latexmk. Preparing to unpack .../113-latexmk_1%3a4.41-1_all.deb ... Unpacking latexmk (1:4.41-1) ... Selecting previously unselected package libexpat1-dev:i386. Preparing to unpack .../114-libexpat1-dev_2.2.3-1_i386.deb ... Unpacking libexpat1-dev:i386 (2.2.3-1) ... Selecting previously unselected package libfindlib-ocaml. Preparing to unpack .../115-libfindlib-ocaml_1.7.3-2_i386.deb ... Unpacking libfindlib-ocaml (1.7.3-2) ... Selecting previously unselected package libmenhir-ocaml-dev. Preparing to unpack .../116-libmenhir-ocaml-dev_20170712-1build1_i386.deb ... Unpacking libmenhir-ocaml-dev (20170712-1build1) ... Selecting previously unselected package libparmap-ocaml. Preparing to unpack .../117-libparmap-ocaml_1.0~rc8-1build1_i386.deb ... Unpacking libparmap-ocaml (1.0~rc8-1build1) ... Selecting previously unselected package libparmap-ocaml-dev. Preparing to unpack .../118-libparmap-ocaml-dev_1.0~rc8-1build1_i386.deb ... Unpacking libparmap-ocaml-dev (1.0~rc8-1build1) ... Selecting previously unselected package libpcre-ocaml. Preparing to unpack .../119-libpcre-ocaml_7.2.3-2build1_i386.deb ... Unpacking libpcre-ocaml (7.2.3-2build1) ... Selecting previously unselected package libpcre16-3:i386. Preparing to unpack .../120-libpcre16-3_2%3a8.39-5ubuntu3_i386.deb ... Unpacking libpcre16-3:i386 (2:8.39-5ubuntu3) ... Selecting previously unselected package libpcre32-3:i386. Preparing to unpack .../121-libpcre32-3_2%3a8.39-5ubuntu3_i386.deb ... Unpacking libpcre32-3:i386 (2:8.39-5ubuntu3) ... Selecting previously unselected package libpcrecpp0v5:i386. Preparing to unpack .../122-libpcrecpp0v5_2%3a8.39-5ubuntu3_i386.deb ... Unpacking libpcrecpp0v5:i386 (2:8.39-5ubuntu3) ... Selecting previously unselected package libpcre3-dev:i386. Preparing to unpack .../123-libpcre3-dev_2%3a8.39-5ubuntu3_i386.deb ... Unpacking libpcre3-dev:i386 (2:8.39-5ubuntu3) ... Selecting previously unselected package ocaml-findlib. Preparing to unpack .../124-ocaml-findlib_1.7.3-2_i386.deb ... Unpacking ocaml-findlib (1.7.3-2) ... Selecting previously unselected package libpcre-ocaml-dev. Preparing to unpack .../125-libpcre-ocaml-dev_7.2.3-2build1_i386.deb ... Unpacking libpcre-ocaml-dev (7.2.3-2build1) ... Selecting previously unselected package libpython2.7:i386. Preparing to unpack .../126-libpython2.7_2.7.14-2ubuntu2_i386.deb ... Unpacking libpython2.7:i386 (2.7.14-2ubuntu2) ... Selecting previously unselected package libpycaml-ocaml. Preparing to unpack .../127-libpycaml-ocaml_0.82-15build1_i386.deb ... Unpacking libpycaml-ocaml (0.82-15build1) ... Selecting previously unselected package libpython2.7-dev:i386. Preparing to unpack .../128-libpython2.7-dev_2.7.14-2ubuntu2_i386.deb ... Unpacking libpython2.7-dev:i386 (2.7.14-2ubuntu2) ... Selecting previously unselected package libpython-dev:i386. Preparing to unpack .../129-libpython-dev_2.7.14-2ubuntu1_i386.deb ... Unpacking libpython-dev:i386 (2.7.14-2ubuntu1) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../130-python2.7-dev_2.7.14-2ubuntu2_i386.deb ... Unpacking python2.7-dev (2.7.14-2ubuntu2) ... Selecting previously unselected package python-dev. Preparing to unpack .../131-python-dev_2.7.14-2ubuntu1_i386.deb ... Unpacking python-dev (2.7.14-2ubuntu1) ... Selecting previously unselected package libpycaml-ocaml-dev. Preparing to unpack .../132-libpycaml-ocaml-dev_0.82-15build1_i386.deb ... Unpacking libpycaml-ocaml-dev (0.82-15build1) ... Selecting previously unselected package menhir. Preparing to unpack .../133-menhir_20170712-1build1_i386.deb ... Unpacking menhir (20170712-1build1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../134-pkg-config_0.29.1-0ubuntu2_i386.deb ... Unpacking pkg-config (0.29.1-0ubuntu2) ... Selecting previously unselected package preview-latex-style. Preparing to unpack .../135-preview-latex-style_11.90-2ubuntu1_all.deb ... Unpacking preview-latex-style (11.90-2ubuntu1) ... Selecting previously unselected package fonts-stix. Preparing to unpack .../136-fonts-stix_1.1.1-4_all.deb ... Unpacking fonts-stix (1.1.1-4) ... Selecting previously unselected package texlive-fonts-extra. Preparing to unpack .../137-texlive-fonts-extra_2017.20170818-1_all.deb ... Unpacking texlive-fonts-extra (2017.20170818-1) ... Selecting previously unselected package texlive-fonts-recommended. Preparing to unpack .../138-texlive-fonts-recommended_2017.20170818-1_all.deb ... Unpacking texlive-fonts-recommended (2017.20170818-1) ... Selecting previously unselected package texlive-latex-recommended. Preparing to unpack .../139-texlive-latex-recommended_2017.20170818-1_all.deb ... Unpacking texlive-latex-recommended (2017.20170818-1) ... Selecting previously unselected package texlive-pictures. Preparing to unpack .../140-texlive-pictures_2017.20170818-1_all.deb ... Unpacking texlive-pictures (2017.20170818-1) ... Selecting previously unselected package texlive-latex-extra. Preparing to unpack .../141-texlive-latex-extra_2017.20170818-1_all.deb ... Unpacking texlive-latex-extra (2017.20170818-1) ... Selecting previously unselected package dh-ocaml. Preparing to unpack .../142-dh-ocaml_1.1.0_all.deb ... Unpacking dh-ocaml (1.1.0) ... Selecting previously unselected package sbuild-build-depends-coccinelle-dummy. Preparing to unpack .../143-sbuild-build-depends-coccinelle-dummy_0.invalid.0_i386.deb ... Unpacking sbuild-build-depends-coccinelle-dummy (0.invalid.0) ... Setting up libgs9-common (9.21~dfsg+1-0ubuntu3) ... Setting up libkpathsea6:i386 (2017.20170613.44572-5build2) ... Setting up libtexlua52:i386 (2017.20170613.44572-5build2) ... Setting up libsynctex1:i386 (2017.20170613.44572-5build2) ... Setting up libptexenc1:i386 (2017.20170613.44572-5build2) ... Setting up fonts-gfs-neohellenic (1.1-6) ... Setting up libarchive-zip-perl (1.59-1) ... Setting up fonts-stix (1.1.1-4) ... Setting up fonts-comfortaa (2.003-1) ... Setting up mime-support (3.60ubuntu1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up liblcms2-2:i386 (2.7-1ubuntu1) ... Setting up libjbig0:i386 (2.1-3.1) ... Setting up libsigsegv2:i386 (2.11-1) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up fonts-linuxlibertine (5.3.0-2) ... Setting up poppler-data (0.4.8-1) ... Setting up libicu59:i386 (59.1-3ubuntu1) ... Setting up groff-base (1.22.3-9) ... Setting up libglib2.0-0:i386 (2.54.1-1ubuntu1) ... No schema files found: doing nothing. Setting up libnetpbm10 (2:10.0-15.3build1) ... Setting up ocaml-base-nox (4.05.0-10ubuntu1) ... Setting up fonts-oflb-asana-math (000.907-6) ... Setting up libtinfo-dev:i386 (6.0+20160625-1ubuntu1) ... Setting up fonts-lobster (2.0-2) ... Setting up fonts-gfs-solomos (1.1-5) ... Setting up dh-ocaml (1.1.0) ... Setting up fonts-adf-accanthis (0.20110505-1) ... Setting up gettext-base (0.19.8.1-4ubuntu1) ... Setting up fonts-freefont-otf (20120503-6) ... Setting up libjpeg-turbo8:i386 (1.5.2-0ubuntu5) ... Setting up libpipeline1:i386 (1.4.2-1) ... Setting up libpcre-ocaml (7.2.3-2build1) ... Setting up m4 (1.4.18-1) ... Setting up fonts-crosextra-carlito (20130920-1) ... Setting up libbsd0:i386 (0.8.6-1) ... Setting up menhir (20170712-1build1) ... Setting up libnspr4:i386 (2:4.16-1ubuntu2) ... Setting up ucf (3.0036) ... Setting up fonts-ebgaramond-extra (0.016-1) ... Setting up fonts-font-awesome (4.7.0~dfsg-3) ... Setting up libxml2:i386 (2.9.4+dfsg1-5ubuntu1) ... Setting up fonts-junicode (0.7.8-2) ... Setting up libfreetype6:i386 (2.8-0.2ubuntu2) ... Setting up libmagic-mgc (1:5.32-1) ... Setting up libmagic1:i386 (1:5.32-1) ... Setting up libgraphite2-3:i386 (1.3.10-2) ... Setting up libcroco3:i386 (0.6.12-1) ... Setting up fonts-lato (2.0-2) ... Setting up libncurses5-dev:i386 (6.0+20160625-1ubuntu1) ... Setting up fonts-gfs-complutum (1.1-6) ... Setting up fonts-cabin (1.5-2) ... Setting up pkg-config (0.29.1-0ubuntu2) ... Setting up libjbig2dec0:i386 (0.13-5) ... Setting up libpixman-1-0:i386 (0.34.0-1) ... Setting up fonts-adf-gillius (0.20110505-1) ... Setting up fonts-crosextra-caladea (20130214-1) ... Processing triggers for libc-bin (2.26-0ubuntu2) ... Setting up autotools-dev (20161112.1) ... Setting up fonts-noto-hinted (20161116-1) ... Setting up t1utils (1.40-2) ... Setting up fonts-ebgaramond (0.016-1) ... Processing triggers for systemd (234-2ubuntu12) ... Setting up fonts-croscore (20161116-1) ... Setting up libijs-0.35:i386 (0.35-12) ... Setting up libexpat1-dev:i386 (2.2.3-1) ... Setting up libpotrace0 (1.14-2) ... Setting up libpcrecpp0v5:i386 (2:8.39-5ubuntu3) ... Setting up libpcre32-3:i386 (2:8.39-5ubuntu3) ... Setting up fonts-adf-universalis (0.20110505-1) ... Setting up fonts-gfs-didot (1.1-6) ... Setting up libpcre16-3:i386 (2:8.39-5ubuntu3) ... Setting up libxdmcp6:i386 (1:1.1.2-3) ... Setting up fonts-gfs-artemisia (1.1-5) ... Setting up bsdmainutils (9.0.12+nmu1ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up fonts-dejavu-extra (2.37-1) ... Setting up fonts-freefont-ttf (20120503-6) ... Setting up libzzip-0-13:i386 (0.13.62-3.1) ... Setting up x11-common (1:7.7+19ubuntu3) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up fonts-sil-gentium (20081126:1.03-1) ... Setting up xdg-utils (1.1.1-1ubuntu3) ... Setting up fonts-sil-gentium-basic (1.1-7) ... Setting up libfindlib-ocaml (1.7.3-2) ... Setting up libtexluajit2:i386 (2017.20170613.44572-5build2) ... Setting up fonts-gfs-olga (1.1-5) ... Setting up ocaml-findlib (1.7.3-2) ... Setting up libx11-data (2:1.6.4-3) ... Setting up libpython2.7-stdlib:i386 (2.7.14-2ubuntu2) ... Setting up libxau6:i386 (1:1.0.8-1) ... Setting up autopoint (0.19.8.1-4ubuntu1) ... Setting up libmpdec2:i386 (2.4.2-1) ... Setting up libdbus-1-3:i386 (1.10.22-1ubuntu1) ... Setting up fonts-lmodern (2.004.5-3) ... Setting up libavahi-common-data:i386 (0.6.32-1ubuntu1) ... Setting up fonts-roboto-hinted (2:0~20160106-2) ... Setting up libfile-stripnondeterminism-perl (0.038-1) ... Setting up libjpeg8:i386 (8c-2ubuntu8) ... Setting up libpaper1:i386 (1.1.24+nmu5ubuntu1) ... Creating config file /etc/papersize with new version Setting up libpython3.6-stdlib:i386 (3.6.3-1ubuntu1) ... Setting up libpaper-utils (1.1.24+nmu5ubuntu1) ... Setting up libpcre3-dev:i386 (2:8.39-5ubuntu3) ... Setting up fontconfig-config (2.11.94-0ubuntu2) ... Setting up python3.6 (3.6.3-1ubuntu1) ... Setting up libparmap-ocaml (1.0~rc8-1build1) ... Setting up tex-common (6.09) ... update-language: texlive-base not installed and configured, doing nothing! Setting up gettext (0.19.8.1-4ubuntu1) ... Setting up fonts-lobstertwo (2.0-2) ... Setting up python2.7 (2.7.14-2ubuntu2) ... Setting up libnss3:i386 (2:3.32-1ubuntu3) ... Setting up libharfbuzz0b:i386 (1.4.2-1build1) ... Setting up libtiff5:i386 (4.0.8-5) ... Setting up preview-latex-style (11.90-2ubuntu1) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.32-1) ... Setting up libpython-stdlib:i386 (2.7.14-2ubuntu1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up libpython2.7:i386 (2.7.14-2ubuntu2) ... Setting up automake (1:1.15.1-3ubuntu1) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up netpbm (2:10.0-15.3build1) ... Setting up libice6:i386 (2:1.0.9-2) ... Setting up man-db (2.7.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython2.7-dev:i386 (2.7.14-2ubuntu2) ... Setting up libavahi-common3:i386 (0.6.32-1ubuntu1) ... Setting up python2.7-dev (2.7.14-2ubuntu2) ... Setting up libxcb1:i386 (1.12-1ubuntu1) ... Setting up python (2.7.14-2ubuntu1) ... Setting up libtool (2.4.6-2) ... Setting up libpython3-stdlib:i386 (3.6.3-2) ... Setting up libpython-dev:i386 (2.7.14-2ubuntu1) ... Setting up libfontconfig1:i386 (2.11.94-0ubuntu2) ... Setting up libsm6:i386 (2:1.2.2-1) ... Setting up libxcb-render0:i386 (1.12-1ubuntu1) ... Setting up libharfbuzz-icu0:i386 (1.4.2-1build1) ... Setting up po-debconf (1.0.20) ... Setting up python-dev (2.7.14-2ubuntu1) ... Setting up libx11-6:i386 (2:1.6.4-3) ... Setting up libpycaml-ocaml (0.82-15build1) ... Setting up libxcb-shm0:i386 (1.12-1ubuntu1) ... Setting up libxpm4:i386 (1:3.5.12-1) ... Setting up libxt6:i386 (1:1.1.5-1) ... Setting up libxrender1:i386 (1:0.9.10-1) ... Setting up libavahi-client3:i386 (0.6.32-1ubuntu1) ... Setting up libpoppler68:i386 (0.57.0-2ubuntu4) ... Setting up fontconfig (2.11.94-0ubuntu2) ... Regenerating fonts cache... done. Setting up libcups2:i386 (2.2.5-2) ... Setting up libxext6:i386 (2:1.3.3-1) ... Setting up libxmu6:i386 (2:1.1.2-2) ... Setting up libcupsimage2:i386 (2.2.5-2) ... Setting up fonts-sil-gentiumplus-compact (5.000-2) ... Setting up fonts-sil-gentiumplus (5.000-1) ... Setting up libgs9:i386 (9.21~dfsg+1-0ubuntu3) ... Setting up libxi6:i386 (2:1.7.9-1) ... Setting up libxaw7:i386 (2:1.0.13-1) ... Setting up libcairo2:i386 (1.15.8-2) ... Setting up ghostscript (9.21~dfsg+1-0ubuntu3) ... Setting up texlive-binaries (2017.20170613.44572-5build2) ... update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode Setting up texlive-base (2017.20170818-1) ... /usr/bin/tl-paper: setting paper size for dvips to a4. /usr/bin/tl-paper: setting paper size for dvipdfmx to a4. /usr/bin/tl-paper: setting paper size for xdvi to a4. /usr/bin/tl-paper: setting paper size for pdftex to a4. Setting up texlive-fonts-recommended (2017.20170818-1) ... Setting up texlive-latex-base (2017.20170818-1) ... Setting up texlive-latex-recommended (2017.20170818-1) ... Setting up texlive-fonts-extra (2017.20170818-1) ... Setting up texlive-pictures (2017.20170818-1) ... Setting up hevea (2.30-1) ... Setting up latexmk (1:4.41-1) ... Setting up texlive-latex-extra (2017.20170818-1) ... Setting up python3 (3.6.3-2) ... Setting up dh-python (2.20170125) ... Setting up ocaml-compiler-libs (4.05.0-10ubuntu1) ... Setting up dh-autoreconf (14) ... Setting up ocaml-interp (4.05.0-10ubuntu1) ... Setting up dh-strip-nondeterminism (0.038-1) ... Setting up debhelper (10.10.5ubuntu1) ... Setting up ocaml-nox (4.05.0-10ubuntu1) ... Setting up libmenhir-ocaml-dev (20170712-1build1) ... Setting up libparmap-ocaml-dev (1.0~rc8-1build1) ... Setting up libcamlp4-ocaml-dev (4.05+1-2) ... Setting up libpycaml-ocaml-dev (0.82-15build1) ... Setting up camlp4 (4.05+1-2) ... Setting up libpcre-ocaml-dev (7.2.3-2build1) ... Setting up sbuild-build-depends-coccinelle-dummy (0.invalid.0) ... (Reading database ... 89777 files and directories currently installed.) Purging configuration files for pkg-create-dbgsym (0.73) ... Processing triggers for tex-common (6.09) ... Running updmap-sys. This may take some time... done. Running mktexlsr /var/lib/texmf ... done. Building format(s) --all. This may take some time... done. Processing triggers for libc-bin (2.26-0ubuntu2) ... Processing triggers for systemd (234-2ubuntu12) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-97-generic amd64 (i686) Toolchain package versions: binutils_2.29.1-6ubuntu1 dpkg-dev_1.19.0.4ubuntu1 g++-7_7.2.0-12ubuntu1 gcc-7_7.2.0-12ubuntu1 libc6-dev_2.26-0ubuntu2 libstdc++-7-dev_7.2.0-12ubuntu1 libstdc++6_7.2.0-12ubuntu1 linux-libc-dev_4.13.0-16.19 Package versions: adduser_3.113+nmu3ubuntu5 advancecomp_2.0-1 apt_1.5.1 apt-transport-https_1.5.1 autoconf_2.69-11 automake_1:1.15.1-3ubuntu1 autopoint_0.19.8.1-4ubuntu1 autotools-dev_20161112.1 base-files_10ubuntu1 base-passwd_3.5.43 bash_4.4-5ubuntu1 binutils_2.29.1-6ubuntu1 binutils-common_2.29.1-6ubuntu1 binutils-i686-linux-gnu_2.29.1-6ubuntu1 bsdmainutils_9.0.12+nmu1ubuntu1 bsdutils_1:2.30.1-0ubuntu4 build-essential_12.4ubuntu1 bzip2_1.0.6-8.1 ca-certificates_20170717 camlp4_4.05+1-2 coreutils_8.26-3ubuntu4 cpp_4:7.2.0-1ubuntu1 cpp-7_7.2.0-12ubuntu1 dash_0.5.8-2.3ubuntu1 debconf_1.5.63 debhelper_10.10.5ubuntu1 debianutils_4.8.2 dh-autoreconf_14 dh-ocaml_1.1.0 dh-python_2.20170125 dh-strip-nondeterminism_0.038-1 diffutils_1:3.6-1 dmsetup_2:1.02.137-2ubuntu3 dpkg_1.19.0.4ubuntu1 dpkg-dev_1.19.0.4ubuntu1 e2fslibs_1.43.5-1 e2fsprogs_1.43.5-1 fakeroot_1.21-1ubuntu2 fdisk_2.30.1-0ubuntu4 file_1:5.32-1 findutils_4.6.0+git+20170729-2 fontconfig_2.11.94-0ubuntu2 fontconfig-config_2.11.94-0ubuntu2 fonts-adf-accanthis_0.20110505-1 fonts-adf-gillius_0.20110505-1 fonts-adf-universalis_0.20110505-1 fonts-cabin_1.5-2 fonts-comfortaa_2.003-1 fonts-croscore_20161116-1 fonts-crosextra-caladea_20130214-1 fonts-crosextra-carlito_20130920-1 fonts-dejavu-core_2.37-1 fonts-dejavu-extra_2.37-1 fonts-ebgaramond_0.016-1 fonts-ebgaramond-extra_0.016-1 fonts-font-awesome_4.7.0~dfsg-3 fonts-freefont-otf_20120503-6 fonts-freefont-ttf_20120503-6 fonts-gfs-artemisia_1.1-5 fonts-gfs-complutum_1.1-6 fonts-gfs-didot_1.1-6 fonts-gfs-neohellenic_1.1-6 fonts-gfs-olga_1.1-5 fonts-gfs-solomos_1.1-5 fonts-junicode_0.7.8-2 fonts-lato_2.0-2 fonts-linuxlibertine_5.3.0-2 fonts-lmodern_2.004.5-3 fonts-lobster_2.0-2 fonts-lobstertwo_2.0-2 fonts-noto-hinted_20161116-1 fonts-oflb-asana-math_000.907-6 fonts-roboto-hinted_2:0~20160106-2 fonts-sil-gentium_20081126:1.03-1 fonts-sil-gentium-basic_1.1-7 fonts-sil-gentiumplus_5.000-1 fonts-sil-gentiumplus-compact_5.000-2 fonts-stix_1.1.1-4 g++_4:7.2.0-1ubuntu1 g++-7_7.2.0-12ubuntu1 gcc_4:7.2.0-1ubuntu1 gcc-7_7.2.0-12ubuntu1 gcc-7-base_7.2.0-12ubuntu1 gettext_0.19.8.1-4ubuntu1 gettext-base_0.19.8.1-4ubuntu1 ghostscript_9.21~dfsg+1-0ubuntu3 gnupg_2.1.15-1ubuntu8 gnupg-agent_2.1.15-1ubuntu8 gpgv_2.1.15-1ubuntu8 grep_3.1-2 groff-base_1.22.3-9 gzip_1.6-5ubuntu1 hevea_2.30-1 hostname_3.18 init_1.49ubuntu1 init-system-helpers_1.49ubuntu1 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 latexmk_1:4.41-1 libacl1_2.2.52-3build1 libapparmor1_2.11.0-2ubuntu17 libapt-pkg5.0_1.5.1 libarchive-zip-perl_1.59-1 libasan4_7.2.0-12ubuntu1 libasn1-8-heimdal_7.4.0.dfsg.1-2 libassuan0_2.4.3-3 libatomic1_7.2.0-12ubuntu1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.7.7-1ubuntu2 libaudit1_1:2.7.7-1ubuntu2 libavahi-client3_0.6.32-1ubuntu1 libavahi-common-data_0.6.32-1ubuntu1 libavahi-common3_0.6.32-1ubuntu1 libbinutils_2.29.1-6ubuntu1 libblkid1_2.30.1-0ubuntu4 libbsd0_0.8.6-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.26-0ubuntu2 libc-dev-bin_2.26-0ubuntu2 libc6_2.26-0ubuntu2 libc6-dev_2.26-0ubuntu2 libcairo2_1.15.8-2 libcamlp4-ocaml-dev_4.05+1-2 libcap-ng0_0.7.7-3build1 libcap2_1:2.25-1.1 libcc1-0_7.2.0-12ubuntu1 libcilkrts5_7.2.0-12ubuntu1 libcomerr2_1.43.5-1 libcroco3_0.6.12-1 libcryptsetup4_2:1.7.3-4ubuntu1 libcups2_2.2.5-2 libcupsimage2_2.2.5-2 libcurl3-gnutls_7.55.1-1ubuntu2.1 libdb5.3_5.3.28-13.1 libdbus-1-3_1.10.22-1ubuntu1 libdebconfclient0_0.213ubuntu1 libdevmapper1.02.1_2:1.02.137-2ubuntu3 libdpkg-perl_1.19.0.4ubuntu1 libexpat1_2.2.3-1 libexpat1-dev_2.2.3-1 libfakeroot_1.21-1ubuntu2 libfdisk1_2.30.1-0ubuntu4 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.038-1 libfindlib-ocaml_1.7.3-2 libfontconfig1_2.11.94-0ubuntu2 libfreetype6_2.8-0.2ubuntu2 libgcc-7-dev_7.2.0-12ubuntu1 libgcc1_1:7.2.0-12ubuntu1 libgcrypt20_1.7.8-2ubuntu1 libgdbm3_1.8.3-14 libglib2.0-0_2.54.1-1ubuntu1 libgmp10_2:6.1.2+dfsg-1 libgnutls30_3.5.8-6ubuntu3 libgomp1_7.2.0-12ubuntu1 libgpg-error0_1.27-3 libgraphite2-3_1.3.10-2 libgs9_9.21~dfsg+1-0ubuntu3 libgs9-common_9.21~dfsg+1-0ubuntu3 libgssapi-krb5-2_1.15.1-2 libgssapi3-heimdal_7.4.0.dfsg.1-2 libharfbuzz-icu0_1.4.2-1build1 libharfbuzz0b_1.4.2-1build1 libhcrypto4-heimdal_7.4.0.dfsg.1-2 libheimbase1-heimdal_7.4.0.dfsg.1-2 libheimntlm0-heimdal_7.4.0.dfsg.1-2 libhogweed4_3.3-2 libhx509-5-heimdal_7.4.0.dfsg.1-2 libice6_2:1.0.9-2 libicu59_59.1-3ubuntu1 libidn11_1.33-2 libidn2-0_2.0.2-5 libijs-0.35_0.35-12 libip4tc0_1.6.1-2ubuntu1 libisl15_0.18-1 libitm1_7.2.0-12ubuntu1 libjbig0_2.1-3.1 libjbig2dec0_0.13-5 libjpeg-turbo8_1.5.2-0ubuntu5 libjpeg8_8c-2ubuntu8 libk5crypto3_1.15.1-2 libkeyutils1_1.5.9-9.1ubuntu1 libkmod2_24-1ubuntu2 libkpathsea6_2017.20170613.44572-5build2 libkrb5-26-heimdal_7.4.0.dfsg.1-2 libkrb5-3_1.15.1-2 libkrb5support0_1.15.1-2 libksba8_1.3.5-2 liblcms2-2_2.7-1ubuntu1 libldap-2.4-2_2.4.45+dfsg-1ubuntu1 libldap-common_2.4.45+dfsg-1ubuntu1 liblockfile-bin_1.14-1 liblockfile1_1.14-1 liblz4-1_0.0~r131-2ubuntu2 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.32-1 libmagic1_1:5.32-1 libmenhir-ocaml-dev_20170712-1build1 libmount1_2.30.1-0ubuntu4 libmpc3_1.0.3-2 libmpdec2_2.4.2-1 libmpfr4_3.1.6-1 libmpx2_7.2.0-12ubuntu1 libncurses5_6.0+20160625-1ubuntu1 libncurses5-dev_6.0+20160625-1ubuntu1 libncursesw5_6.0+20160625-1ubuntu1 libnetpbm10_2:10.0-15.3build1 libnettle6_3.3-2 libnpth0_1.5-2 libnspr4_2:4.16-1ubuntu2 libnss3_2:3.32-1ubuntu3 libp11-kit0_0.23.7-3 libpam-modules_1.1.8-3.2ubuntu3 libpam-modules-bin_1.1.8-3.2ubuntu3 libpam-runtime_1.1.8-3.2ubuntu3 libpam0g_1.1.8-3.2ubuntu3 libpaper-utils_1.1.24+nmu5ubuntu1 libpaper1_1.1.24+nmu5ubuntu1 libparmap-ocaml_1.0~rc8-1build1 libparmap-ocaml-dev_1.0~rc8-1build1 libpcre-ocaml_7.2.3-2build1 libpcre-ocaml-dev_7.2.3-2build1 libpcre16-3_2:8.39-5ubuntu3 libpcre3_2:8.39-5ubuntu3 libpcre3-dev_2:8.39-5ubuntu3 libpcre32-3_2:8.39-5ubuntu3 libpcrecpp0v5_2:8.39-5ubuntu3 libperl5.26_5.26.0-8ubuntu1 libpipeline1_1.4.2-1 libpixman-1-0_0.34.0-1 libpng16-16_1.6.34-1 libpoppler68_0.57.0-2ubuntu4 libpotrace0_1.14-2 libprocps6_2:3.3.12-1ubuntu2 libpsl5_0.18.0-2 libptexenc1_2017.20170613.44572-5build2 libpycaml-ocaml_0.82-15build1 libpycaml-ocaml-dev_0.82-15build1 libpython-dev_2.7.14-2ubuntu1 libpython-stdlib_2.7.14-2ubuntu1 libpython2.7_2.7.14-2ubuntu2 libpython2.7-dev_2.7.14-2ubuntu2 libpython2.7-minimal_2.7.14-2ubuntu2 libpython2.7-stdlib_2.7.14-2ubuntu2 libpython3-stdlib_3.6.3-2 libpython3.6-minimal_3.6.3-1ubuntu1 libpython3.6-stdlib_3.6.3-1ubuntu1 libquadmath0_7.2.0-12ubuntu1 libreadline7_7.0-0ubuntu2 libroken18-heimdal_7.4.0.dfsg.1-2 librtmp1_2.4+20151223.gitfa8646d.1-1 libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu1 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu1 libseccomp2_2.3.1-2.1ubuntu3 libselinux1_2.7-1 libsemanage-common_2.7-2 libsemanage1_2.7-2 libsepol1_2.7-1 libsigsegv2_2.11-1 libslang2_2.3.1-5ubuntu1 libsm6_2:1.2.2-1 libsmartcols1_2.30.1-0ubuntu4 libsqlite3-0_3.20.1-2 libss2_1.43.5-1 libssl1.0.0_1.0.2g-1ubuntu13 libstdc++-7-dev_7.2.0-12ubuntu1 libstdc++6_7.2.0-12ubuntu1 libsynctex1_2017.20170613.44572-5build2 libsystemd0_234-2ubuntu12 libtasn1-6_4.12-2.1 libtexlua52_2017.20170613.44572-5build2 libtexluajit2_2017.20170613.44572-5build2 libtiff5_4.0.8-5 libtimedate-perl_2.3000-2 libtinfo-dev_6.0+20160625-1ubuntu1 libtinfo5_6.0+20160625-1ubuntu1 libtool_2.4.6-2 libubsan0_7.2.0-12ubuntu1 libudev1_234-2ubuntu12 libunistring0_0.9.3-5.2ubuntu1 libusb-0.1-4_2:0.1.12-31 libustr-1.0-1_1.0.4-6 libuuid1_2.30.1-0ubuntu4 libwind0-heimdal_7.4.0.dfsg.1-2 libx11-6_2:1.6.4-3 libx11-data_2:1.6.4-3 libxau6_1:1.0.8-1 libxaw7_2:1.0.13-1 libxcb-render0_1.12-1ubuntu1 libxcb-shm0_1.12-1ubuntu1 libxcb1_1.12-1ubuntu1 libxdmcp6_1:1.1.2-3 libxext6_2:1.3.3-1 libxi6_2:1.7.9-1 libxml2_2.9.4+dfsg1-5ubuntu1 libxmu6_2:1.1.2-2 libxpm4_1:3.5.12-1 libxrender1_1:0.9.10-1 libxt6_1:1.1.5-1 libzzip-0-13_0.13.62-3.1 linux-libc-dev_4.13.0-16.19 lockfile-progs_0.1.17build1 login_1:4.2-3.2ubuntu4 lsb-base_9.20160110ubuntu5 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-2 mawk_1.3.3-17ubuntu2 menhir_20170712-1build1 mime-support_3.60ubuntu1 mount_2.30.1-0ubuntu4 multiarch-support_2.26-0ubuntu2 ncurses-base_6.0+20160625-1ubuntu1 ncurses-bin_6.0+20160625-1ubuntu1 netpbm_2:10.0-15.3build1 ocaml-base-nox_4.05.0-10ubuntu1 ocaml-compiler-libs_4.05.0-10ubuntu1 ocaml-findlib_1.7.3-2 ocaml-interp_4.05.0-10ubuntu1 ocaml-nox_4.05.0-10ubuntu1 openssl_1.0.2g-1ubuntu13 optipng_0.7.6-1build1 passwd_1:4.2-3.2ubuntu4 patch_2.7.5-1build1 perl_5.26.0-8ubuntu1 perl-base_5.26.0-8ubuntu1 perl-modules-5.26_5.26.0-8ubuntu1 pinentry-curses_1.0.0-2 pkg-config_0.29.1-0ubuntu2 pkgbinarymangler_131 po-debconf_1.0.20 policyrcd-script-zg2_0.1-3 poppler-data_0.4.8-1 preview-latex-style_11.90-2ubuntu1 procps_2:3.3.12-1ubuntu2 python_2.7.14-2ubuntu1 python-dev_2.7.14-2ubuntu1 python-minimal_2.7.14-2ubuntu1 python2.7_2.7.14-2ubuntu2 python2.7-dev_2.7.14-2ubuntu2 python2.7-minimal_2.7.14-2ubuntu2 python3_3.6.3-2 python3-minimal_3.6.3-2 python3.6_3.6.3-1ubuntu1 python3.6-minimal_3.6.3-1ubuntu1 readline-common_7.0-0ubuntu2 sbuild-build-depends-coccinelle-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.10 systemd_234-2ubuntu12 systemd-sysv_234-2ubuntu12 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.8git1 t1utils_1.40-2 tar_1.29b-2 tex-common_6.09 texlive-base_2017.20170818-1 texlive-binaries_2017.20170613.44572-5build2 texlive-fonts-extra_2017.20170818-1 texlive-fonts-recommended_2017.20170818-1 texlive-latex-base_2017.20170818-1 texlive-latex-extra_2017.20170818-1 texlive-latex-recommended_2017.20170818-1 texlive-pictures_2017.20170818-1 tzdata_2017c-1 ubuntu-keyring_2016.10.27 ucf_3.0036 util-linux_2.30.1-0ubuntu4 x11-common_1:7.7+19ubuntu3 xdg-utils_1.1.1-1ubuntu3 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Sat Oct 28 09:46:09 2017 UTC gpgv: using RSA key gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./coccinelle_1.0.4.deb-3build4.dsc dpkg-source: info: extracting coccinelle in coccinelle-1.0.4.deb dpkg-source: info: unpacking coccinelle_1.0.4.deb.orig.tar.gz dpkg-source: info: unpacking coccinelle_1.0.4.deb-3build4.debian.tar.xz dpkg-source: info: applying pdf-docs-build.diff dpkg-source: info: applying notparallel-main-makefile.diff dpkg-source: info: applying bash-completion-dir.diff Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-13635894 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-13635894 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-13635894 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package coccinelle dpkg-buildpackage: info: source version 1.0.4.deb-3build4 dpkg-buildpackage: info: source distribution bionic dpkg-source --before-build coccinelle-1.0.4.deb dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean --with ocaml,python2 --parallel dh: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' /usr/bin/make distclean make[2]: Entering directory '/<>' rm -f spatch spatch.opt spatch.top make[3]: Entering directory '/<>/tools' rm -f *.cm[ioxa] *.o *.a *.cmxa *.annot rm -f spp gitgrep splitpatch extract_c_and_res gitsort alloc_free bridge process_isoprofile isoprof rm -f .depend make[3]: Leaving directory '/<>/tools' rm -f scripts/spatch scripts/spatch.byte scripts/spatch.opt rm -f gmon.out ocamlprof.dump rm -f .depend rm -f *.cm[iox] *.o *.annot rm -f *~ .*~ *.exe #*# set -e; for i in commons globals ctl parsing_cocci parsing_c engine popl09 extra python ocaml docs ; do /usr/bin/make -C $i distclean; done make[3]: Entering directory '/<>/commons' rm -f commons.top rm -f gmon.out rm -f *.cm[iox] *.o *.a *.cma *.cmxa *.annot rm -f *~ .*~ #*# for i in ocamlextra ocollection; do (cd $i; \ rm -f *.cm[iox] *.o *.a *.cma *.cmxa *.annot *~ .*~ ; \ cd ..; ) \ done rm -f .depend rm -f commands.ml make[3]: Leaving directory '/<>/commons' make[3]: Entering directory '/<>/globals' rm -f *.cm[ioxa] *.o *.a *.cmxa *.annot rm -f *~ .*~ gmon.out #*# rm -f .depend make[3]: Leaving directory '/<>/globals' make[3]: Entering directory '/<>/ctl' rm -f ctl.cma ctl.cmxa ctl.a ctl.top rm -f *.cm[iox] *.o *.annot rm -f *~ .*~ #*# rm -f .depend make[3]: Leaving directory '/<>/ctl' make[3]: Entering directory '/<>/parsing_cocci' rm -f cocci_parser.cma rm -f cocci_parser.cmxa cocci_parser.a rm -f cocci_parser rm -f *.cm[iox] *.o *.annot rm -f *~ .*~ #*# rm -f .depend if test -z ""; then \ @echo cleaning generated parsers and lexers; \ rm -f lexer_cocci.ml lexer_cli.ml lexer_script.ml parser_cocci_menhir.ml parser_cocci_menhir.mli; fi /bin/sh: 2: @echo: not found make[3]: Leaving directory '/<>/parsing_cocci' make[3]: Entering directory '/<>/parsing_c' rm -f parsing_c.top rm -f lexer_c.ml rm -f parser_c.ml parser_c.mli parser_c.output rm -f *.cm[ioxa] *.o *.a *.cmxa *.annot rm -f *~ .*~ gmon.out #*# rm -f .depend make[3]: Leaving directory '/<>/parsing_c' make[3]: Entering directory '/<>/engine' rm -f cocciengine.top rm -f *.cm[ioxa] *.o *.a *.cmxa *.annot rm -f *~ .*~ gmon.out #*# rm -f .depend make[3]: Leaving directory '/<>/engine' make[3]: Entering directory '/<>/popl09' rm -f popl.cma popl.top rm -f popl.cmxa popl.a rm -f *.cm[iox] *.o *.annot rm -f *~ .*~ #*# rm -f .depend make[3]: Leaving directory '/<>/popl09' make[3]: Entering directory '/<>/extra' rm -f extra.byte extra.opt rm -f extra.top rm -f .depend rm -f *.cm[ioxa] *.o *.a *.cmxa *.annot rm -f *~ .*~ gmon.out #*# make[3]: Leaving directory '/<>/extra' make[3]: Entering directory '/<>/python' /usr/bin/make -C coccilib distclean make[4]: Entering directory '/<>/python/coccilib' set -e; for i in coccigui; do /usr/bin/make -C $i clean; done make[5]: Entering directory '/<>/python/coccilib/coccigui' rm -f *.pyc make[5]: Leaving directory '/<>/python/coccilib/coccigui' rm -rf __pycache__ rm -f *.pyc make[4]: Leaving directory '/<>/python/coccilib' rm -f pycocci.ml rm -f *.cm[ioxa] *.o *.annot *.a make[3]: Leaving directory '/<>/python' make[3]: Entering directory '/<>/ocaml' rm -f cocciocaml.top rm -f *.cm[ioxa] *.o *.a *.cmxa *.annot rm -f *~ .*~ gmon.out #*# rm -f .depend rm -f coccilib/coccilib.cmi make[3]: Leaving directory '/<>/ocaml' make[3]: Entering directory '/<>/docs' /usr/bin/make -C manual distclean make[4]: Entering directory '/<>/docs/manual' rm -f *.aux *.dvi *.pdf *.html *.haux *.htoc *.log *.out *~ rm -f main-diff.* rm -f *.aux \ *.bbl \ *.blg \ *.dvi \ *.log \ *.out \ *.toc make[4]: Leaving directory '/<>/docs/manual' rm -f spatch.1 rm -rf ./html rm -rf ./man make[3]: Leaving directory '/<>/docs' rm -f TAGS *.native *.byte *.d.native *.p.byte if test -z ""; then \ rm -f tests/SCORE_actual.sexp tests/SCORE_best_of_both.sexp; fi find . -name ".#*1.*" | xargs rm -f rm -f spatch spatch.opt spatch.top rm -f setup/Makefile Cleaning configured files if test -z ""; then rm -f Makefile.config; fi rm -rf autom4te.cache rm -f config.status rm -f config.log if test -z ""; then \ rm -f version.ml; fi rm -f globals/config.ml rm -f globals/regexp.ml python/pycocci.ml ocaml/prepare_ocamlcocci.ml rm -f scripts/spatch.sh rm -f aclocal.m4 for i in `find . -name '*.in'`; do rm -f `echo $i | sed "s/\.in$//"`; done Run './configure' again prior to building coccinelle. If ./configure does not exist, run ./autogen first. make[2]: Leaving directory '/<>' rm -rf myocamlbuild.ml python/.depend texmf-var texmf-config make[1]: Leaving directory '/<>' dh_ocamlclean -O--parallel dh_clean -O--parallel dh_clean: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules build-arch dh build-arch --with ocaml,python2 --parallel dh: Compatibility levels before 9 are deprecated (level 8 in use) dh_update_autotools_config -a -O--parallel dh_ocamlinit -a -O--parallel debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --enable-ocaml --enable-release configure: configuring coccinelle 1.0.4 in /<> checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: determining version suffix checking for date... /bin/date configure: version suffix set to Sat, 28 Oct 2017 09:51:04 +0000 configure: this configure program uses pkg-config m4 macros configure: this configure program uses ocaml m4 macros (see setup/ocaml.m4) configure: this configure program uses custom m4 macros (see setup/cocci.m4) configure: some fake substitutions for required but unavailable programs may be used (see setup/fake*) configure: verifying basic tools checking for style of include used by make... GNU 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 dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for bash... /bin/bash checking for tar... /bin/tar checking for patch... /usr/bin/patch checking for echo... /bin/echo checking for patchelf... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ocamlc... /usr/bin/ocamlc OCaml version is 4.05.0 OCaml library path is /usr/lib/ocaml checking for ocamlopt... /usr/bin/ocamlopt checking for ocamlc.opt... /usr/bin/ocamlc.opt checking for ocamlopt.opt... /usr/bin/ocamlopt.opt checking for ocaml... /usr/bin/ocaml checking for ocamldep... /usr/bin/ocamldep checking for ocamlmktop... /usr/bin/ocamlmktop checking for ocamlmklib... /usr/bin/ocamlmklib checking for ocamldoc... /usr/bin/ocamldoc checking that the OCaml version is at least 3.12... yes checking that the OCaml version is at least 4.02... yes checking for ocamllex... /usr/bin/ocamllex checking for ocamllex.opt... /usr/bin/ocamllex.opt checking for ocamlyacc... /usr/bin/ocamlyacc checking for ocamlfind... /usr/bin/ocamlfind checking for ocamlprof... /usr/bin/ocamlprof configure: verifying basic ocaml modules configure: coccinelle may use external ocaml libraries in /<>/bundles configure: the following OCaml packages should be provided by your ocaml installation checking for OCaml findlib package unix... found checking for OCaml findlib package bigarray... found checking for OCaml findlib package num... found checking for OCaml findlib package str... found configure: configuring package dynlink checking for OCaml findlib package dynlink... found configure: configuring package menhirLib checking for OCaml findlib package menhirLib... found configure: configuring package parmap checking for OCaml findlib package parmap... found configure: verifying optional features checking for menhir... /usr/bin/menhir configure: Deleted pre-generated parsers, will be re-built checking for python... /usr/bin/python checking python version... 2.7 found configure: python major version: 2 configure: looking for the corresponding python library checking for PYTHON... yes configure: support for python scripts is enabled configure: configuring package pycaml checking for OCaml findlib package pycaml... found checking for PCRE... yes configure: configuring package pcre checking for OCaml findlib package pcre... found configure: support for pcre syntax is enabled checking for pdflatex... /usr/bin/pdflatex checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile.config config.status: creating version.ml config.status: creating commons/commands.ml config.status: creating globals/config.ml config.status: creating globals/regexp.ml config.status: creating python/pycocci.ml config.status: creating ocaml/prepare_ocamlcocci.ml config.status: creating scripts/spatch.sh config.status: creating tools/spgen/scripts/spgen.sh config.status: creating docs/spatch.1 config.status: creating setup/Makefile config.status: executing depfiles commands configure: configuration completed ------------------------------------------------------------------------------ Summary configure flags: --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --enable-ocaml --enable-release findlib: /usr/bin/ocamlfind (an actual version is strongly recommended) menhir: /usr/bin/menhir (should be an optional tool) menhirLib module: yes (for local package use --disable-menhirLib) ocaml scripting: yes (overridable with --enable-ocaml) python scripting: yes (overridable with --enable-python) pycaml module: yes (for local package use --disable-pycaml) pcre regexes: yes (overridable with --enable-pcre-syntax) pcre module: yes (for local package use --disable-pcre) pcre library: yes (requires the dev version of libpcre) release config: yes (strongly recommended to be 'yes', overridable with --enable-release) optimized spatch: yes (overridable with --disable-opt) ------------------------------------------------------------------------------ Coccinelle can now be compiled and installed. If you compile coccinelle again after source code changes or configuration changes, you may need to run first: $ make clean To compile coccinelle, run: $ make all To install coccinelle, run: $ make install Then, to test coccinelle, run for example: $ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c Or when coccinelle is not installed yet: $ COCCINELLE_HOME=/<> ./scripts/spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c ------------------------------------------------------------------------------ You may need to set some environment variables so that the python libraries are found. The frontend 'spatch' sets the following variables: $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib $ export PYTHONPATH=$PYTHONPATH:/usr/lib/coccinelle/python ------------------------------------------------------------------------------ make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build-arch make[1]: Entering directory '/<>' /usr/bin/make depend make[2]: Entering directory '/<>' Constructing '.depend' make[3]: Entering directory '/<>/commons' /usr/bin/ocamldep -I ocamlextra -I ocollection common.mli oarray.mli oassoc.mli objet.mli ocollection.mli ograph_extended.mli ograph.mli ograph_simple.mli osequence.mli oset.mli parser_combinators.mli commands.ml common.ml interfaces.ml objet.ml ocollection.ml seti.ml oset.ml oassoc.ml osequence.ml ograph.ml ocollection/osetb.ml ocollection/oassocb.ml oarray.ml ograph_simple.ml ograph_extended.ml glimpse.ml parser_combinators.ml | sed 's/bytes\.cm[a-z]\{1,\}//g' > .depend for i in ocamlextra ocollection; do /usr/bin/ocamldep -I ocamlextra -I ocollection $i/*.ml $i/*.mli >> .depend; done /usr/bin/ocamldep -I ocamlextra -I ocollection common.mli oarray.mli oassoc.mli objet.mli ocollection.mli ograph_extended.mli ograph.mli ograph_simple.mli osequence.mli oset.mli parser_combinators.mli commands.ml common.ml interfaces.ml objet.ml ocollection.ml seti.ml oset.ml oassoc.ml osequence.ml ograph.ml ocollection/osetb.ml ocollection/oassocb.ml oarray.ml ograph_simple.ml ograph_extended.ml glimpse.ml parser_combinators.ml | sed 's/bytes\.cm[a-z]\{1,\}//g' > .depend for i in ocamlextra ocollection; do /usr/bin/ocamldep -I ocamlextra -I ocollection $i/*.ml $i/*.mli >> .depend; done make[3]: Leaving directory '/<>/commons' make[3]: Entering directory '/<>/globals' /usr/bin/ocamldep -I ../commons -I /usr/lib/ocaml/pcre *.mli *.ml > .depend /usr/bin/ocamldep -I ../commons -I /usr/lib/ocaml/pcre *.mli *.ml > .depend make[3]: Leaving directory '/<>/globals' make[3]: Entering directory '/<>/ctl' /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals *.mli *.ml > .depend /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals *.mli *.ml > .depend make[3]: Leaving directory '/<>/ctl' make[3]: Entering directory '/<>/parsing_cocci' /usr/bin/ocamllex.opt lexer_cocci.mll 374 states, 7149 transitions, table size 30840 bytes 3330 additional bytes used for bindings /usr/bin/ocamllex.opt lexer_cli.mll 14 states, 681 transitions, table size 2808 bytes /usr/bin/ocamllex.opt lexer_script.mll 22 states, 272 transitions, table size 1220 bytes /usr/bin/menhir --ocamlc "/usr/bin/ocamlc.opt" --ocamldep "/usr/bin/ocamldep" --table --base parser_cocci_menhir parser_cocci_menhir.mly Warning: you are using the standard library and/or the %inline keyword. We recommend switching on --infer in order to avoid obscure type error messages. /usr/bin/ocamldep *.mli *.ml > .depend /usr/bin/ocamldep *.mli *.ml > .depend make[3]: Leaving directory '/<>/parsing_cocci' make[3]: Entering directory '/<>/parsing_c' /usr/bin/ocamllex.opt lexer_c.mll 549 states, 26116 transitions, table size 107758 bytes 15973 additional bytes used for bindings /usr/bin/ocamlyacc -v parser_c.mly /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci *.mli *.ml | sed "s%\.\./commons/bytes\.cm.%%g" > .depend /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci *.mli *.ml | sed "s%\.\./commons/bytes\.cm.%%g" > .depend make[3]: Leaving directory '/<>/parsing_c' make[3]: Entering directory '/<>/engine' /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c *.mli *.ml > .depend /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c *.mli *.ml > .depend make[3]: Leaving directory '/<>/engine' make[3]: Entering directory '/<>/popl09' /usr/bin/ocamldep -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine *.mli *.ml > .depend /usr/bin/ocamldep -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine *.mli *.ml > .depend make[3]: Leaving directory '/<>/popl09' make[3]: Entering directory '/<>/extra' /usr/bin/ocamldep -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c *.mli *.ml > .depend /usr/bin/ocamldep -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c *.mli *.ml > .depend make[3]: Leaving directory '/<>/extra' make[3]: Entering directory '/<>/python' /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci *.mli *.ml > .depend /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci *.mli *.ml > .depend make[3]: Leaving directory '/<>/python' make[3]: Entering directory '/<>/ocaml' /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine *.mli *.ml | sed 's/bytes\.cm[a-z]\{1,\}//g' > .depend /usr/bin/ocamldep -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine *.mli *.ml | sed 's/bytes\.cm[a-z]\{1,\}//g' > .depend make[3]: Leaving directory '/<>/ocaml' /usr/bin/ocamldep -I commons -I commons/ocamlextra -I globals -I ctl -I parsing_cocci -I parsing_c -I engine -I popl09 -I extra -I python -I ocaml cocci.mli testing.mli flag_cocci.ml cocci.ml testing.ml read_options.ml main.ml > .depend make[2]: Leaving directory '/<>' # make all.opt does not build documentation /usr/bin/make -C docs all make[2]: Entering directory '/<>/docs' /usr/bin/make -C manual all make[3]: Entering directory '/<>/docs/manual' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/docs/manual' make[2]: Leaving directory '/<>/docs' # Re-create this directory here because git does not store empty directories mkdir -p ocaml/coccilib dh_auto_build dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use) make -j4 make[2]: Entering directory '/<>' make[3]: Entering directory '/<>' make[3]: '.depend' is up to date. make[3]: Leaving directory '/<>' make all-release make[3]: Entering directory '/<>' Building opt-only make .depend make[4]: Entering directory '/<>' make[4]: '.depend' is up to date. make[4]: Leaving directory '/<>' make opt-only make[4]: Entering directory '/<>' make .depend make[5]: Entering directory '/<>' make[5]: '.depend' is up to date. make[5]: Leaving directory '/<>' make subdirs.opt BUILD_OPT=yes make[5]: Entering directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/commons' make[8]: Entering directory '/<>/commons' /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dumper.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/setb.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/mapb.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/setPt.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c commands.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c common.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c objet.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c parser_combinators.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/enum.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/suffix_tree.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/suffix_tree_ext.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dumper.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/setb.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ocollection.mli skipped building ocamlextra/setPt.cmo in optimizing mode: ocamlextra/setPt.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c oassoc.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/enum.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dynArray.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/suffix_tree.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c common.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c osequence.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dynArray.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c oarray.mli File "common.ml", line 2197, characters 16-32: Warning 3: deprecated: String.lowercase Use String.lowercase_ascii instead. /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/suffix_tree_ext.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c interfaces.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c objet.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c seti.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c glimpse.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c parser_combinators.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oassoc.ml skipped building seti.cmo in optimizing mode: seti.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c oset.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oset.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c osequence.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/oassocb.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/osetb.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oarray.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -a -o commons.cmxa ocamlextra/dumper.cmx ocamlextra/setb.cmx ocamlextra/mapb.cmx ocamlextra/setPt.cmx commands.cmx common.cmx interfaces.cmx objet.cmx ocollection.cmx seti.cmx oset.cmx oassoc.cmx osequence.cmx ograph.cmx ocollection/osetb.cmx ocollection/oassocb.cmx oarray.cmx ograph_simple.cmx ograph_extended.cmx glimpse.cmx parser_combinators.cmx ocamlextra/enum.cmx ocamlextra/dynArray.cmx ocamlextra/suffix_tree.cmx ocamlextra/suffix_tree_ext.cmx make[8]: Leaving directory '/<>/commons' make[7]: Leaving directory '/<>/commons' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/globals' make[8]: Entering directory '/<>/globals' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c config.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c flag.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c iteration.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c regexp_pcre.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c regexp.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c iteration.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -a -o globals.cmxa config.cmx flag.cmx iteration.cmx regexp_pcre.cmx regexp.cmx make[8]: Leaving directory '/<>/globals' make[7]: Leaving directory '/<>/globals' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/ctl' make[8]: Entering directory '/<>/ctl' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c flag_ctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ast_ctl.ml skipped building ast_ctl.cmo in optimizing mode: ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c pretty_print_ctl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ctl_engine.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c pretty_print_ctl.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c wrapper_ctl.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ctl_engine.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c wrapper_ctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -a -o ctl.cmxa flag_ctl.cmx ast_ctl.cmx pretty_print_ctl.cmx ctl_engine.cmx wrapper_ctl.cmx make[8]: Leaving directory '/<>/ctl' make[7]: Leaving directory '/<>/ctl' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/parsing_cocci' make[8]: Entering directory '/<>/parsing_cocci' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c flag_parsing_cocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_cocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c semantic_cocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_printf.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c lexer_cli.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c cocci_grep.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c dpll.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c git_grep.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c command_line.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_cocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast_cocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_printf.ml skipped building semantic_cocci.cmo in optimizing mode: semantic_cocci.cmx will be built instead. skipped building flag_parsing_cocci.cmo in optimizing mode: flag_parsing_cocci.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c cocci_grep.ml File "parse_printf.ml", line 23, characters 19-34: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 8.5) /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c dpll.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c git_grep.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c command_line.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast_cocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast0_cocci.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c pretty_print_cocci.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c stmtlist.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unify_ast.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c data.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c free_vars.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c safe_for_multi_decls.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c disjdistr.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c get_constants2.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c adjacency.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c commas_on_lists.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast0_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c pretty_print_cocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unparse_ast0.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c compute_lines.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c comm_assoc.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c single_statement.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c simple_assignments.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c get_metas.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast0toast.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c check_meta.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c top_level.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_infer.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c test_exps.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unitary_ast0.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c arity.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c index.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c context_neg.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c adjust_pragmas.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c insert_plus.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c function_prototypes.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c id_utils.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_cocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0_types.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c compute_lines.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c top_level.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c arity.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c index.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c data.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unparse_ast0.ml skipped building visitor_ast0_types.cmo in optimizing mode: visitor_ast0_types.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_aux.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.mli skipped building parse_aux.cmo in optimizing mode: parse_aux.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c stmtlist.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unify_ast.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c free_vars.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c safe_for_multi_decls.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c disjdistr.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c get_constants2.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c id_utils.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c comm_assoc.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c simple_assignments.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c get_metas.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast0toast.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c check_meta.ml File "check_meta.ml", line 62, characters 28-44: Warning 3: deprecated: String.uppercase Use String.uppercase_ascii instead. File "parser_cocci_menhir.mly", line 649, characters 29-44: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 8.5) /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_infer.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c test_exps.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unitary_ast0.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c context_neg.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c adjust_pragmas.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c adjacency.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c commas_on_lists.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c single_statement.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c insert_plus.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c function_prototypes.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c lexer_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c lexer_script.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/menhirLib -a -o cocci_parser.cmxa menhirLib.cmx flag_parsing_cocci.cmx type_cocci.cmx ast_cocci.cmx ast0_cocci.cmx pretty_print_cocci.cmx unparse_ast0.cmx visitor_ast0_types.cmx visitor_ast.cmx visitor_ast0.cmx compute_lines.cmx comm_assoc.cmx iso_pattern.cmx iso_compile.cmx single_statement.cmx simple_assignments.cmx get_metas.cmx stmtlist.cmx ast0toast.cmx check_meta.cmx top_level.cmx type_infer.cmx test_exps.cmx unitary_ast0.cmx arity.cmx index.cmx context_neg.cmx adjust_pragmas.cmx insert_plus.cmx function_prototypes.cmx unify_ast.cmx semantic_cocci.cmx data.cmx free_vars.cmx safe_for_multi_decls.cmx parse_printf.cmx parse_aux.cmx disjdistr.cmx lexer_cocci.cmx parser_cocci_menhir.cmx lexer_cli.cmx lexer_script.cmx cocci_grep.cmx dpll.cmx get_constants2.cmx id_utils.cmx git_grep.cmx adjacency.cmx commas_on_lists.cmx parse_cocci.cmx command_line.cmx make[8]: Leaving directory '/<>/parsing_cocci' make[7]: Leaving directory '/<>/parsing_cocci' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/parsing_c' make[8]: Entering directory '/<>/parsing_c' /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_annot.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c flag_parsing_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_stat.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c semantic_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lexer_parser.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c compare_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c test_parsing_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_annot.ml skipped building token_c.cmo in optimizing mode: token_c.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c ast_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lexer_parser.ml skipped building parsing_stat.cmo in optimizing mode: parsing_stat.cmx will be built instead. skipped building ast_c.cmo in optimizing mode: ast_c.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parser_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_cocci.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_hrule.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_consistency_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c danger.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_annoter_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c comment_annotater_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c_build.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c pretty_print_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parser_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_string_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_helpers.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_views_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_recovery_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_token_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_hacks.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_analysis_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_ast_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lib_parsing_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_consistency_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c_build.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c pretty_print_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c danger.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lexer_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_string_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_helpers.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_views_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_recovery_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c comment_annotater_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_token_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_hacks.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_hrule.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_analysis_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_ast_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_annoter_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c compare_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c test_parsing_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -a -o parsing_c.cmxa token_annot.cmx flag_parsing_c.cmx parsing_stat.cmx token_c.cmx ast_c.cmx control_flow_c.cmx visitor_c.cmx lib_parsing_c.cmx control_flow_c_build.cmx pretty_print_c.cmx semantic_c.cmx lexer_parser.cmx parser_c.cmx lexer_c.cmx parse_string_c.cmx token_helpers.cmx token_views_c.cmx cpp_token_c.cmx parsing_hacks.cmx cpp_analysis_c.cmx unparse_cocci.cmx unparse_c.cmx unparse_hrule.cmx parsing_recovery_c.cmx parsing_consistency_c.cmx danger.cmx parse_c.cmx type_c.cmx cpp_ast_c.cmx type_annoter_c.cmx comment_annotater_c.cmx compare_c.cmx test_parsing_c.cmx make[8]: Leaving directory '/<>/parsing_c' make[7]: Leaving directory '/<>/parsing_c' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/engine' make[8]: Entering directory '/<>/engine' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c flag_matcher.ml skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c lib_engine.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_exhaustive_pattern.ml skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c c_vs_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c isomorphisms_c_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c cocci_vs_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c externalanalysis.mli skipped building lib_engine.cmo in optimizing mode: lib_engine.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_reachability.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c c_vs_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pattern_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c transformation_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttomember.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttoctl2.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctltotex.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c postprocess_transinfo.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctlcocci_integration.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c externalanalysis.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pretty_print_engine.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_reachability.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttomember.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctltotex.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c postprocess_transinfo.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pretty_print_engine.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c cocci_vs_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttoctl2.ml File "cocci_vs_c.ml", line 125, characters 14-31: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 8.5) /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pattern_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c transformation_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctlcocci_integration.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -a -o cocciengine.cmxa externalanalysis.cmx flag_matcher.cmx lib_engine.cmx pretty_print_engine.cmx check_exhaustive_pattern.cmx check_reachability.cmx c_vs_c.cmx isomorphisms_c_c.cmx cocci_vs_c.cmx pattern_c.cmx transformation_c.cmx asttomember.cmx asttoctl2.cmx ctltotex.cmx postprocess_transinfo.cmx ctlcocci_integration.cmx make[8]: Leaving directory '/<>/engine' make[7]: Leaving directory '/<>/engine' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/popl09' make[8]: Entering directory '/<>/popl09' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c ast_popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c flag_popl.ml skipped building ../engine/lib_engine.cmo in optimizing mode: ../engine/lib_engine.cmx will be built instead. skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popl.mli skipped building ast_popl.cmo in optimizing mode: ast_popl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c asttopopl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c insert_quantifiers.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c pretty_print_popl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popltoctl.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c insert_quantifiers.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c pretty_print_popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c asttopopl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popltoctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -a -o popl.cmxa ast_popl.cmx asttopopl.cmx insert_quantifiers.cmx pretty_print_popl.cmx flag_popl.cmx popltoctl.cmx popl.cmx make[8]: Leaving directory '/<>/popl09' make[7]: Leaving directory '/<>/popl09' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/extra' make[8]: Entering directory '/<>/extra' /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c classic_patch.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c kbuild.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c maintainers.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c kbuild.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c maintainers.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c classic_patch.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -a -o extra.cmxa classic_patch.cmx kbuild.cmx maintainers.cmx make[8]: Leaving directory '/<>/extra' make[7]: Leaving directory '/<>/extra' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/python' make[8]: Entering directory '/<>/python' skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c pycocci_aux.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c pycocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c pycocci_aux.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c yes_pycocci.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Pycaml, and its interface was not compiled with -opaque /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c pycocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -a -o coccipython.cmxa pycocci_aux.cmx yes_pycocci.cmx pycocci.cmx make[8]: Leaving directory '/<>/python' make[7]: Leaving directory '/<>/python' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/ocaml' make[8]: Entering directory '/<>/ocaml' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c exposed_modules.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c prepare_ocamlcocci.mli skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ocamlcocci_aux.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c run_ocamlcocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ocamlcocci_aux.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c coccilib.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c yes_prepare_ocamlcocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c run_ocamlcocci.ml File "yes_prepare_ocamlcocci.ml", line 136, characters 7-24: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 287, characters 16-33: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 294, characters 12-29: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 416, characters 9-23: Warning 3: deprecated: Char.lowercase Use Char.lowercase_ascii instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c prepare_ocamlcocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -a -o cocciocaml.cmxa exposed_modules.cmx coccilib.cmx ocamlcocci_aux.cmx yes_prepare_ocamlcocci.cmx prepare_ocamlcocci.cmx run_ocamlcocci.cmx make[8]: Leaving directory '/<>/ocaml' make[7]: Leaving directory '/<>/ocaml' make[6]: Leaving directory '/<>' make[5]: Leaving directory '/<>' make spatch.opt BUILD_OPT=yes make[5]: Entering directory '/<>' make[6]: Entering directory '/<>/commons' make[7]: Entering directory '/<>/commons' skipped building seti.cmo in optimizing mode: seti.cmx will be built instead. skipped building ocamlextra/setPt.cmo in optimizing mode: ocamlextra/setPt.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c oset.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oset.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/osetb.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -a -o commons.cmxa ocamlextra/dumper.cmx ocamlextra/setb.cmx ocamlextra/mapb.cmx ocamlextra/setPt.cmx commands.cmx common.cmx interfaces.cmx objet.cmx ocollection.cmx seti.cmx oset.cmx oassoc.cmx osequence.cmx ograph.cmx ocollection/osetb.cmx ocollection/oassocb.cmx oarray.cmx ograph_simple.cmx ograph_extended.cmx glimpse.cmx parser_combinators.cmx ocamlextra/enum.cmx ocamlextra/dynArray.cmx ocamlextra/suffix_tree.cmx ocamlextra/suffix_tree_ext.cmx make[7]: Leaving directory '/<>/commons' make[6]: Leaving directory '/<>/commons' make[6]: Entering directory '/<>/globals' make[7]: Entering directory '/<>/globals' make[7]: 'globals.cmxa' is up to date. make[7]: Leaving directory '/<>/globals' make[6]: Leaving directory '/<>/globals' make[6]: Entering directory '/<>/ctl' make[7]: Entering directory '/<>/ctl' skipped building ast_ctl.cmo in optimizing mode: ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c pretty_print_ctl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ctl_engine.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c pretty_print_ctl.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c wrapper_ctl.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ctl_engine.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c wrapper_ctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -a -o ctl.cmxa flag_ctl.cmx ast_ctl.cmx pretty_print_ctl.cmx ctl_engine.cmx wrapper_ctl.cmx make[7]: Leaving directory '/<>/ctl' make[6]: Leaving directory '/<>/ctl' make[6]: Entering directory '/<>/parsing_cocci' make[7]: Entering directory '/<>/parsing_cocci' skipped building visitor_ast0_types.cmo in optimizing mode: visitor_ast0_types.cmx will be built instead. skipped building semantic_cocci.cmo in optimizing mode: semantic_cocci.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.mli skipped building flag_parsing_cocci.cmo in optimizing mode: flag_parsing_cocci.cmx will be built instead. skipped building parse_aux.cmo in optimizing mode: parse_aux.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c comm_assoc.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.ml File "parser_cocci_menhir.mly", line 649, characters 29-44: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 8.5) /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c simple_assignments.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c get_metas.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast0toast.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c check_meta.ml File "check_meta.ml", line 62, characters 28-44: Warning 3: deprecated: String.uppercase Use String.uppercase_ascii instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_infer.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c test_exps.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unitary_ast0.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c context_neg.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c adjust_pragmas.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c adjacency.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c commas_on_lists.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c single_statement.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c insert_plus.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c function_prototypes.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c lexer_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c lexer_script.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/menhirLib -a -o cocci_parser.cmxa menhirLib.cmx flag_parsing_cocci.cmx type_cocci.cmx ast_cocci.cmx ast0_cocci.cmx pretty_print_cocci.cmx unparse_ast0.cmx visitor_ast0_types.cmx visitor_ast.cmx visitor_ast0.cmx compute_lines.cmx comm_assoc.cmx iso_pattern.cmx iso_compile.cmx single_statement.cmx simple_assignments.cmx get_metas.cmx stmtlist.cmx ast0toast.cmx check_meta.cmx top_level.cmx type_infer.cmx test_exps.cmx unitary_ast0.cmx arity.cmx index.cmx context_neg.cmx adjust_pragmas.cmx insert_plus.cmx function_prototypes.cmx unify_ast.cmx semantic_cocci.cmx data.cmx free_vars.cmx safe_for_multi_decls.cmx parse_printf.cmx parse_aux.cmx disjdistr.cmx lexer_cocci.cmx parser_cocci_menhir.cmx lexer_cli.cmx lexer_script.cmx cocci_grep.cmx dpll.cmx get_constants2.cmx id_utils.cmx git_grep.cmx adjacency.cmx commas_on_lists.cmx parse_cocci.cmx command_line.cmx make[7]: Leaving directory '/<>/parsing_cocci' make[6]: Leaving directory '/<>/parsing_cocci' make[6]: Entering directory '/<>/parsing_c' make[7]: Entering directory '/<>/parsing_c' skipped building token_c.cmo in optimizing mode: token_c.cmx will be built instead. skipped building parsing_stat.cmo in optimizing mode: parsing_stat.cmx will be built instead. skipped building ast_c.cmo in optimizing mode: ast_c.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parser_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_cocci.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_hrule.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_consistency_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c danger.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_annoter_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c comment_annotater_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c_build.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c pretty_print_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parser_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_string_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_helpers.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_views_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_recovery_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_token_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c visitor_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_hacks.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_analysis_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_ast_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lib_parsing_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_consistency_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c_build.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c pretty_print_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c danger.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lexer_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_string_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_helpers.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c token_views_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_recovery_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c comment_annotater_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_token_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parsing_hacks.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c unparse_hrule.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_analysis_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parse_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c cpp_ast_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c type_annoter_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c compare_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c test_parsing_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -a -o parsing_c.cmxa token_annot.cmx flag_parsing_c.cmx parsing_stat.cmx token_c.cmx ast_c.cmx control_flow_c.cmx visitor_c.cmx lib_parsing_c.cmx control_flow_c_build.cmx pretty_print_c.cmx semantic_c.cmx lexer_parser.cmx parser_c.cmx lexer_c.cmx parse_string_c.cmx token_helpers.cmx token_views_c.cmx cpp_token_c.cmx parsing_hacks.cmx cpp_analysis_c.cmx unparse_cocci.cmx unparse_c.cmx unparse_hrule.cmx parsing_recovery_c.cmx parsing_consistency_c.cmx danger.cmx parse_c.cmx type_c.cmx cpp_ast_c.cmx type_annoter_c.cmx comment_annotater_c.cmx compare_c.cmx test_parsing_c.cmx make[7]: Leaving directory '/<>/parsing_c' make[6]: Leaving directory '/<>/parsing_c' make[6]: Entering directory '/<>/engine' make[7]: Entering directory '/<>/engine' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c lib_engine.ml skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_exhaustive_pattern.ml skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c c_vs_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c cocci_vs_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c externalanalysis.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_reachability.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c c_vs_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c externalanalysis.ml skipped building lib_engine.cmo in optimizing mode: lib_engine.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_reachability.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pattern_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c transformation_c.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttomember.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttoctl2.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctltotex.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c postprocess_transinfo.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctlcocci_integration.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pretty_print_engine.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttomember.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctltotex.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c postprocess_transinfo.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pretty_print_engine.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c cocci_vs_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c asttoctl2.ml File "cocci_vs_c.ml", line 125, characters 14-31: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 8.5) /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c pattern_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c transformation_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c ctlcocci_integration.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -a -o cocciengine.cmxa externalanalysis.cmx flag_matcher.cmx lib_engine.cmx pretty_print_engine.cmx check_exhaustive_pattern.cmx check_reachability.cmx c_vs_c.cmx isomorphisms_c_c.cmx cocci_vs_c.cmx pattern_c.cmx transformation_c.cmx asttomember.cmx asttoctl2.cmx ctltotex.cmx postprocess_transinfo.cmx ctlcocci_integration.cmx make[7]: Leaving directory '/<>/engine' make[6]: Leaving directory '/<>/engine' make[6]: Entering directory '/<>/popl09' make[7]: Entering directory '/<>/popl09' skipped building ast_popl.cmo in optimizing mode: ast_popl.cmx will be built instead. skipped building ../engine/lib_engine.cmo in optimizing mode: ../engine/lib_engine.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c asttopopl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c insert_quantifiers.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c pretty_print_popl.mli skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popltoctl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popl.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c asttopopl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c pretty_print_popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c insert_quantifiers.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popltoctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -a -o popl.cmxa ast_popl.cmx asttopopl.cmx insert_quantifiers.cmx pretty_print_popl.cmx flag_popl.cmx popltoctl.cmx popl.cmx make[7]: Leaving directory '/<>/popl09' make[6]: Leaving directory '/<>/popl09' make[6]: Entering directory '/<>/extra' make[7]: Entering directory '/<>/extra' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -a -o extra.cmxa classic_patch.cmx kbuild.cmx maintainers.cmx make[7]: Leaving directory '/<>/extra' make[6]: Leaving directory '/<>/extra' make[6]: Entering directory '/<>/python' make[7]: Entering directory '/<>/python' skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c pycocci_aux.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c pycocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c pycocci_aux.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c yes_pycocci.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Pycaml, and its interface was not compiled with -opaque /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -c pycocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -I /usr/lib/ocaml/pycaml -a -o coccipython.cmxa pycocci_aux.cmx yes_pycocci.cmx pycocci.cmx make[7]: Leaving directory '/<>/python' make[6]: Leaving directory '/<>/python' make[6]: Entering directory '/<>/ocaml' make[7]: Entering directory '/<>/ocaml' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c exposed_modules.ml skipped building ../parsing_c/ast_c.cmo in optimizing mode: ../parsing_c/ast_c.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ocamlcocci_aux.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c run_ocamlcocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ocamlcocci_aux.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c coccilib.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c yes_prepare_ocamlcocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c run_ocamlcocci.ml File "yes_prepare_ocamlcocci.ml", line 136, characters 7-24: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 287, characters 16-33: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 294, characters 12-29: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 416, characters 9-23: Warning 3: deprecated: Char.lowercase Use Char.lowercase_ascii instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c prepare_ocamlcocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -a -o cocciocaml.cmxa exposed_modules.cmx coccilib.cmx ocamlcocci_aux.cmx yes_prepare_ocamlcocci.cmx prepare_ocamlcocci.cmx run_ocamlcocci.cmx make[7]: Leaving directory '/<>/ocaml' make[6]: Leaving directory '/<>/ocaml' /usr/bin/ocamlopt.opt -unsafe -I /usr/lib/ocaml -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/pcre -I /usr/lib/ocaml/pycaml -I commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -c flag_cocci.ml /usr/bin/ocamlc.opt -unsafe -I /usr/lib/ocaml -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/pcre -I /usr/lib/ocaml/pycaml -I commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -c cocci.mli /usr/bin/ocamlopt.opt -unsafe -I /usr/lib/ocaml -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/pcre -I /usr/lib/ocaml/pycaml -I commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -c cocci.ml /usr/bin/ocamlc.opt -unsafe -I /usr/lib/ocaml -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/pcre -I /usr/lib/ocaml/pycaml -I commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -c testing.mli /usr/bin/ocamlopt.opt -unsafe -I /usr/lib/ocaml -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/pcre -I /usr/lib/ocaml/pycaml -I commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -c testing.ml /usr/bin/ocamlc.opt -unsafe -I /usr/lib/ocaml -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/pcre -I /usr/lib/ocaml/pycaml -I commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -c read_options.mli /usr/bin/ocamlopt.opt -unsafe -I /usr/lib/ocaml -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/pcre -I /usr/lib/ocaml/pycaml -I commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -c read_options.ml /usr/bin/ocamlopt.opt -unsafe -I /usr/lib/ocaml -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/pcre -I /usr/lib/ocaml/pycaml -I commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -c main.ml File "main.ml", line 811, characters 22-49: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 8.5) File "_none_", line 1: Warning 58: no cmx file was found in path for module Parmap, and its interface was not compiled with -opaque /usr/bin/ocamlopt.opt -unsafe -I /usr/lib/ocaml -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/parmap -I /usr/lib/ocaml/pcre -I /usr/lib/ocaml/pycaml -I commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -cclib -lpycaml_stubs -cclib -lpython2.7 -ccopt -lpcre -cclib -lpcre_stubs -cclib -lparmap_stubs -o spatch.opt str.cmxa unix.cmxa bigarray.cmxa nums.cmxa /usr/lib/ocaml/dynlink.cmxa /usr/lib/ocaml/pycaml/pycaml.cmxa /usr/lib/ocaml/pcre/pcre.cmxa /usr/lib/ocaml/parmap/parmap.cmxa commons/commons.cmxa globals/globals.cmxa ctl/ctl.cmxa parsing_cocci/cocci_parser.cmxa parsing_c/parsing_c.cmxa engine/cocciengine.cmxa popl09/popl.cmxa extra/extra.cmxa python/coccipython.cmxa ocaml/cocciocaml.cmxa flag_cocci.cmx cocci.cmx testing.cmx read_options.cmx main.cmx make[5]: Leaving directory '/<>' The compilation of spatch.opt finished. spatch.opt can be installed or used. make[4]: Leaving directory '/<>' make preinstall make[4]: Entering directory '/<>' cp scripts/spatch.sh scripts/spatch chmod +x scripts/spatch cp scripts/spatch.sh scripts/spatch.opt chmod +x scripts/spatch.opt cp scripts/spatch.sh scripts/spatch.byte chmod +x scripts/spatch.byte make[4]: Leaving directory '/<>' make docs make[4]: Entering directory '/<>' make[5]: Entering directory '/<>/docs' make -C manual all make[6]: Entering directory '/<>/docs/manual' make[6]: Nothing to be done for 'all'. make[6]: Leaving directory '/<>/docs/manual' make[5]: Leaving directory '/<>/docs' make[5]: Entering directory '/<>/ocaml' /bin/mkdir -p ../docs/html /bin/mkdir -p ../docs/man /usr/bin/ocamldoc -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -hide Pervasives -hide Exposed_modules \ -html -all-params -colorize-code -d ../docs/html ../parsing_c/ast_c.ml coccilib.ml /usr/bin/ocamldoc -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -hide Pervasives -hide Exposed_modules \ -man -man-mini -d ../docs/man ../parsing_c/ast_c.ml coccilib.ml make[5]: Leaving directory '/<>/ocaml' Finished building manuals make[4]: Leaving directory '/<>' coccinelle can now be installed via 'make install' make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' # This is needed to copy *.cmi files to the directory /usr/bin/make -C ocaml all make[2]: Entering directory '/<>/ocaml' /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ../globals/regexp.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ../parsing_c/lib_parsing_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ../parsing_c/lexer_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ../globals/flag.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ../globals/config.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ../parsing_c/ast_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c exposed_modules.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c coccilib.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ocamlcocci_aux.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ocamlcocci_aux.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ../parsing_cocci/flag_parsing_cocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c yes_prepare_ocamlcocci.ml File "yes_prepare_ocamlcocci.ml", line 136, characters 7-24: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 287, characters 16-33: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 294, characters 12-29: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 416, characters 9-23: Warning 3: deprecated: Char.lowercase Use Char.lowercase_ascii instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c prepare_ocamlcocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c run_ocamlcocci.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c run_ocamlcocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -a -o cocciocaml.cma exposed_modules.cmo coccilib.cmo ocamlcocci_aux.cmo yes_prepare_ocamlcocci.cmo prepare_ocamlcocci.cmo run_ocamlcocci.cmo for i in `grep " (\*" exposed_modules.ml | sed "s/^.*(\* //" | sed "s/\..* \*)$//"`; do cp ../$i.cmi .; done make[2]: Leaving directory '/<>/ocaml' make[1]: Leaving directory '/<>' debian/rules override_dh_auto_test-arch make[1]: Entering directory '/<>' /usr/bin/make check make[2]: Entering directory '/<>' Testing if spatch works on hello world... Fatal error: exception Sys_error("Broken pipe") Testing if spatch works with regexes... Fatal error: exception Sys_error("Broken pipe") Testing if spatch works with ocaml scripts... File "_none_", line 1: Warning 58: no cmx file was found in path for module Iteration, and its interface was not compiled with -opaque Testing if spatch works with python scripts... running the test suite COCCINELLE_HOME="$(pwd)" ./scripts/spatch --testall --no-update-score-file init_defs_builtins: /<>/standard.h 62.res diff = --- tests/62.c +++ /tmp/cocci-output-8348-a10423-62.c @@ -1,8 +1,12 @@ static struct usb_driver carl9170_driver = { .id_table = carl9170_usb_ids, +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) .soft_unbind = 1, +#endif #ifdef CONFIG_PM .reset_resume = carl9170_usb_resume, #endif /* CONFIG_PM */ +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) .disable_hub_initiated_lpm = 1, +#endif }; a.res a3d.res diff = --- tests/a3d.c +++ /tmp/cocci-output-8348-870d24-a3d.c @@ -6,13 +6,13 @@ struct a3d { static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { struct a3d *a3d; - a3d->adc.idbus = BUS_GAMEPORT; - a3d->dev.idbus = BUS_GAMEPORT; + a3d->adc.id.bustype = BUS_GAMEPORT; + a3d->dev.id.bustype = BUS_GAMEPORT; } static void a3d_connect(struct gameport *gameport, struct gameport_dev *dev) { struct a3d *a3d; - a3d->adc.idbus = BUS_GAMEPORT; + a3d->adc.id.bustype = BUS_GAMEPORT; } a_and_e.res a_and_e_ver1.res diff = --- tests/a_and_e_ver1.c +++ /tmp/cocci-output-8348-85aebf-a_and_e_ver1.c @@ -1,6 +1,7 @@ void main(int i) { g(); + f(2, 0); if(1) f(1,2); else ab.res warning: line 4: should a be a metavariable? diff = --- tests/ab.c +++ /tmp/cocci-output-8348-9445ac-ab.c @@ -1,5 +1,5 @@ int main () { foo = 5; - a = 12; + b = 12; xxx = 12; } addaft.res diff = --- tests/addaft.c +++ /tmp/cocci-output-8348-e531bc-addaft.c @@ -1,16 +1,8 @@ int main () { foo(); - if (x) { - a(); - b(); - c(); - } + bar(); foo(); - while (x) { - a(); - if (b()) continues; - c(); - } + bar(); foo(); - r(); + bar(); } addbefore.res diff = --- tests/addbefore.c +++ /tmp/cocci-output-8348-167329-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { + foo(); goto out; } after(); addbeforeafter.res diff = --- tests/addbeforeafter.c +++ /tmp/cocci-output-8348-b5cbae-addbeforeafter.c @@ -1,6 +1,8 @@ int main () { if (x) { + foo(); goto out; + bar(); } after(); out: addelse.res diff = --- tests/addelse.c +++ /tmp/cocci-output-8348-0efb59-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; } addfield.res diff = --- tests/addfield.c +++ /tmp/cocci-output-8348-120aab-addfield.c @@ -1,4 +1,6 @@ struct i2c_client I = { - .name = E, .foo = 16, + .dev = { + .name = E, + }, }; addif.res diff = --- tests/addif.c +++ /tmp/cocci-output-8348-905ffc-addif.c @@ -1,7 +1,19 @@ +#ifdef FOO +/* some comment */ +int xxx() { + /* a comment by itself */ + return 12;/* another comment */ } +#endif static int foo() { return 12; } +#ifdef FOO +/* some comment */ +int xxx() { + /* a comment by itself */ + return 12;/* another comment */ } +#endif static int bar() { return 12; } addif1.res diff = --- tests/addif1.c +++ /tmp/cocci-output-8348-02d861-addif1.c @@ -1,7 +1,15 @@ +#ifdef FOO +int xxx() { + return 12; } +#endif static int foo() { return 12; } +#ifdef FOO +int xxx() { + return 12; } +#endif static int bar() { return 12; } addif2.res diff = --- tests/addif2.c +++ /tmp/cocci-output-8348-398371-addif2.c @@ -1,7 +1,13 @@ +#ifdef FOO +int/*foo*/ xxx; +#endif static int foo() { return 12; } +#ifdef FOO +int/*foo*/ xxx; +#endif static int bar() { return 12; } addifdef.res diff = --- tests/addifdef.c +++ /tmp/cocci-output-8348-2f8d5d-addifdef.c @@ -1,10 +1,14 @@ #ifdef FOO +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) int one () { return 1; } +#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) */ #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,1) */ /* comment about two */ +#ifdef LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) int two () { return 2; } +#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0) */ addifelse.res diff = --- tests/addifelse.c +++ /tmp/cocci-output-8348-67336e-addifelse.c @@ -1,8 +1,14 @@ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) static void rfcomm_l2data_ready(struct sock *sk) { BT_DBG("%p", sk); rfcomm_schedule(); } +#else +static void backport_rfcomm_l2data_ready(struct sock *sk, int unused){ + rfcomm_l2data_ready(sk); +} +#endif static int rfcomm_l2sock_create(struct socket **sock) { addifelse2.res diff = --- tests/addifelse2.c +++ /tmp/cocci-output-8348-b5c89a-addifelse2.c @@ -1,8 +1,15 @@ +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) +static void backport_rfcomm_l2data_ready(struct sock *sk, int unused){ + rfcomm_l2data_ready(sk); +} +#else + static void rfcomm_l2data_ready(struct sock *sk) { BT_DBG("%p", sk); rfcomm_schedule(); } +#endif static int rfcomm_l2sock_create(struct socket **sock) { addtoo.res diff = --- tests/addtoo.c +++ /tmp/cocci-output-8348-92034d-addtoo.c @@ -1,16 +1,8 @@ int main () { - if (x) { - a(); - b(); - c(); - } + bar(); foo(); - while (x) { - a(); - if (b()) continues; - c(); - } + bar(); foo(); - r(); + bar(); foo(); } addtrace.res diff = --- tests/addtrace.c +++ /tmp/cocci-output-8348-7f4d66-addtrace.c @@ -2,13 +2,24 @@ short VerDate(char *pcDate) { short sRetour = 0; if ( pcDate == 0 ) { - sRetour = 1; + trace("ifth"); + { + sRetour = 1; + } } - if ( pcDate == 0 ) - sRetour = 1; + trace("endif"); if ( pcDate == 0 ) { + trace("ifth"); sRetour = 1; - return sRetour; } + trace("endif"); + if ( pcDate == 0 ) { + trace("ifth"); + { + sRetour = 1; + return sRetour; + } + } + trace("endif"); return sRetour; } after_if.res diff = --- tests/after_if.c +++ /tmp/cocci-output-8348-9f9e34-after_if.c @@ -1,4 +1,5 @@ #ifdef ELMC_MULTICAST static void set_multicast_list(struct net_device *dev); #endif -static struct ethtool_ops netdev_ethtool_ops; +static const struct ethtool_ops netdev_ethtool_ops; + allex.res diff = --- tests/allex.c +++ /tmp/cocci-output-8348-91d843-allex.c @@ -6,7 +6,7 @@ int main () { goto out; } } - if (x) return 15; + if (x) return 200; out: return rc; } allex2.res diff = --- tests/allex2.c +++ /tmp/cocci-output-8348-3b7c1d-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; out: - return 0; + return 100; } allex3.res diff = --- tests/allex3.c +++ /tmp/cocci-output-8348-70e517-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; out: - return 0; } anon.res diff = --- tests/anon.c +++ /tmp/cocci-output-8348-8a534c-anon.c @@ -12,5 +12,5 @@ static int ppa_queuecommand(struct scsi_ void (*done) (struct scsi_cmnd *)) { ppa_struct *dev = ppa_dev(cmd->device->host); - schedule_work(&dev->ppa_tq); + schedule_delayed_work(&dev->ppa_tq, 0); } ar.res diff = --- tests/ar.c +++ /tmp/cocci-output-8348-3ac1e0-ar.c @@ -4,9 +4,4 @@ int main() { struct foo *x; struct bar *y; struct foo z[15]; - - x->y = 12; - y->a->y = 12; - y->b[7].y = 12; - z[15].y = 12; } arg.res diff = --- tests/arg.c +++ /tmp/cocci-output-8348-5ee788-arg.c @@ -1,6 +1,6 @@ int main () { - foo(bar()); - foo(1,bar()); - foo(bar(),2); - foo(1,bar(),2); + foo(); + foo(1); + foo(2); + foo(1,2); } argument.res diff = --- tests/argument.c +++ /tmp/cocci-output-8348-098cdf-argument.c @@ -1,8 +1,5 @@ void main(int i){ - f(1,2,3); - - h(1,2); - h(); + g(3, 2, 1); } arparam.res diff = --- tests/arparam.c +++ /tmp/cocci-output-8348-c090ad-arparam.c @@ -1,3 +1,7 @@ +g(int q[1024]) { + return 12; +} + int main(int q[1024]) { return 12; } array_init.res diff = --- tests/array_init.c +++ /tmp/cocci-output-8348-821789-array_init.c @@ -1,3 +1,2 @@ static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; -MODULE_PARM(term, "1-8i"); array_size.res diff = --- tests/array_size.c +++ /tmp/cocci-output-8348-c87610-array_size.c @@ -1,2 +1,2 @@ -#define MAX_SETUP_STRINGS (sizeof(setup_strings) / sizeof(char *)) +#define MAX_SETUP_STRINGS ARRAY_SIZE(setup_strings) #define SETUP_BUFFER_SIZE 200 arraysz.res diff = --- tests/arraysz.c +++ /tmp/cocci-output-8348-8a0c66-arraysz.c @@ -7,4 +7,4 @@ typedef struct signature { static const Signature signatures[] = { {"SSTBIOS", 0x0000d, 7} /* "SSTBIOS" @ offset 0x0000d */ }; -#define NUM_SIGNATURES (sizeof(signatures)/sizeof(Signature)) +#define NUM_SIGNATURES ARRAY_SIZE(signatures) as_stm.res diff = --- tests/as_stm.c +++ /tmp/cocci-output-8348-e0c2fa-as_stm.c @@ -1,3 +1,5 @@ int main () { +#ifdef BEFORE if (f()) return 15; +#endif } attradd.res diff = --- tests/attradd.c +++ /tmp/cocci-output-8348-564f2c-attradd.c @@ -1,3 +1,5 @@ int main () { - char f; + char __attribute__((aligned(1))) f; } +// some comment +// some other comment attrs2groups.res diff = --- tests/attrs2groups.c +++ /tmp/cocci-output-8348-1e588b-attrs2groups.c @@ -3,18 +3,24 @@ static ssize_t devspec_show(struct devic { return 42; } +static BUG(); +NOBUG(); static ssize_t name_show(struct device *dev, struct device_attribute *attr, char *buf) { return 0; } +static BUG(); +NOBUG(); static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, char *buf) { return 1; } +static BUG(); +NOBUG(); struct device_attribute ibmebus_bus_device_attrs[] = { b1.res diff = --- tests/b1.c +++ /tmp/cocci-output-8348-945b9d-b1.c @@ -1,7 +1,9 @@ int main () { while (1) { - if (x > 1 ) { foo(); break; } + if (x > 1 ) { foo(); + bar(); break; } } while (1) - if (x > 1 ) { foo(); break; } + if (x > 1 ) { foo(); + bar(); break; } } b2.res diff = --- tests/b2.c +++ /tmp/cocci-output-8348-3c8402-b2.c @@ -1,9 +1,11 @@ int main () { if (1) { - if (x > 1 ) { foo(); brk(); } + if (x > 1 ) { foo(); + bar(); brk(); } } else aaa(); if (1) - while (x > 1 ) { foo(); brk(); } + while (x > 1 ) { foo(); + bar(); brk(); } else aaa(); foo(); brk(); } bad_iso_example.res bad_kfree.res diff = --- tests/bad_kfree.c +++ /tmp/cocci-output-8348-744551-bad_kfree.c @@ -14,7 +14,7 @@ int bad () { kfree(itv[i]); print("foo",itv[i]); print("foo",itv[i]); - a = itv[i]; + a = NULL; itv[i]=12; a = itv[i]; } bad_ptr_print.res diff = --- tests/bad_ptr_print.c +++ /tmp/cocci-output-8348-5b507d-bad_ptr_print.c @@ -1,4 +1,4 @@ static inline int tester(struct usb_endpoint_descriptor *epd) { - f((struct foo *)x); + g((struct foo *)x); } bad_typedef.res diff = --- tests/bad_typedef.c +++ /tmp/cocci-output-8348-70c046-bad_typedef.c @@ -4,7 +4,7 @@ typedef struct { int main1 (scsi_changer *x) { - foo(x->lock); + foo(x->new_lock); } struct scsi_changer_two { @@ -13,5 +13,5 @@ struct scsi_changer_two { int main2 (struct scsi_changer_two *x) { - foo(x->lock); + foo(x->new_lock); } badexp.res diff = --- tests/badexp.c +++ /tmp/cocci-output-8348-765949-badexp.c @@ -1,4 +1,4 @@ int main() { foo(a); - b = a; + b = 3 +a* 27; } badpos.res previous modification: MINUS >>> xxx According to environment 0: current modification: MINUS According to environment 0: exn while in timeout_function badtypedef.res diff = --- tests/badtypedef.c +++ /tmp/cocci-output-8348-47c384-badtypedef.c @@ -5,7 +5,7 @@ int main() { foo_t *b; foo_t *c; - xxx(a); - yyy(b); + aaa(a); + bbb(b); } badwhen.res diff = --- tests/badwhen.c +++ /tmp/cocci-output-8348-29aa95-badwhen.c @@ -4,7 +4,5 @@ int main () { g(); } int second() { - f(); if (xfoo()) return; - g(); } badzero.res diff = --- tests/badzero.c +++ /tmp/cocci-output-8348-729b3d-badzero.c @@ -4,7 +4,7 @@ int main () { int z; if (y - x == 0) return; if ((y - x) == 0) return; - if (y - z == 0) return; - if ((y - z) == 0) return; + if (27) return; + if (27) return; } befS.res diff = --- tests/befS.c +++ /tmp/cocci-output-8348-3a592f-befS.c @@ -1,20 +1,32 @@ int main () { + foo(); xxx(); + foo(); if(y) { - rrr(); + foo(); + { + foo(); + rrr(); + } } } int main () { + foo(); xxx(); - if(y) + foo(); + if(y) { + foo(); rrr(); + } } int d() {} int main2 () { + foo(); yyy(); + foo(); xxx(); } before.res diff = --- tests/before.c +++ /tmp/cocci-output-8348-f78dc0-before.c @@ -1,4 +1,6 @@ int main () { + blah(); one(); + blah(); foo(); } ben.res diff = --- tests/ben.c +++ /tmp/cocci-output-8348-c96209-ben.c @@ -1,22 +1,20 @@ +static GType this_type = 0; +static const GTypeInfo this_info = { + sizeof(LassoProviderClass), + NULL, + NULL, + (GClassInitFunc)class_init, + NULL, + NULL, + sizeof(LassoProvider), + 0, + (GInstanceInitFunc)instance_init, + NULL, +}; GType lasso_provider_get_type() { - static GType this_type = 0; - if (!this_type) { - static const GTypeInfo this_info = { - sizeof (LassoProviderClass), - NULL, - NULL, - (GClassInitFunc) class_init, - NULL, - NULL, - sizeof(LassoProvider), - 0, - (GInstanceInitFunc) instance_init, - NULL - }; - this_type = g_type_register_static(LASSO_TYPE_NODE, "LassoProvider", &this_info, 0); } bigin.res diff = --- tests/bigin.c +++ /tmp/cocci-output-8348-ca7d02-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) blah(); + bar(); foo(); } bigrepl.res diff = --- tests/bigrepl.c +++ /tmp/cocci-output-8348-388b26-bigrepl.c @@ -1,6 +1,9 @@ int main () { - one(argument1(nested, argument), argument2(nested, argument), foo(), + one(argument1(nested, argument), argument2(nested, argument), + call(to, a, very, complicated, function, with, many, args), argument3(nested, argument)); - one(argument1(nested, argument), argument2(nested, argument), foo(), a(b)); - one(argument1(nested, argument), argument2(nested, argument), foo()); + one(argument1(nested, argument), argument2(nested, argument), + call(to, a, very, complicated, function, with, many, args), a(b)); + one(argument1(nested, argument), argument2(nested, argument), + call(to, a, very, complicated, function, with, many, args)); } binop.res diff = --- tests/binop.c +++ /tmp/cocci-output-8348-4610d3-binop.c @@ -2,10 +2,12 @@ void main() { int i = 0; int j = 0; - if( (i = j) + 0 ) { + i = j; + if(i + 0 ) { i = j; } - if( (i = j) + 0 != 0 ) { + i = j; + if(i + 0 != 0 ) { i = j; } } bitfield.res diff = --- tests/bitfield.c +++ /tmp/cocci-output-8348-34d606-bitfield.c @@ -1,5 +1,5 @@ struct dvb_frontend { - struct dvb_frontend_ops* ops; + struct dvb_frontend_ops ops; }; typedef struct { boolr.res (ONCE) already tagged but only removed, so safe diff = --- tests/boolr.c +++ /tmp/cocci-output-8348-dd6802-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; int b; } braces.res diff = --- tests/braces.c +++ /tmp/cocci-output-8348-4c8e40-braces.c @@ -1,9 +1,9 @@ -#define main { foo(); } +#define main foo(); int main() { foo(); } -int main() { if (x) { foo(); } } +int main() { if (x) foo(); } -int main() { while (x) { foo(); } } +int main() { while (x) foo(); } -int main() { if (x) { foo(); } else { foo(); } } +int main() { if (x) foo(); else foo(); } branchparen.res diff = --- tests/branchparen.c +++ /tmp/cocci-output-8348-d4a7df-branchparen.c @@ -1,6 +1,10 @@ int main () { - if (x) + if (x) { + foo(); xxx(); - else + } + else { + foo(); xxx(); + } } break.res diff = --- tests/break.c +++ /tmp/cocci-output-8348-29f4e4-break.c @@ -5,8 +5,10 @@ int main () { x = 15; if (x > 1 ) { foo(); break; } } while (a == 3); - if (x > 1 ) { foo(); break; } - if (x > 1 ) { foo(); break; } + if (x > 1 ) { foo(); + bar(); break; } + if (x > 1 ) { foo(); + bar(); break; } } } @@ -18,6 +20,7 @@ int mainx () { if (x > 1 ) { xxx(); continue; } } while (a == 3); if (x > 1 ) { xxx(); break; } - if (x > 1 ) { xxx(); continue; } + if (x > 1 ) { xxx(); + bar(); continue; } } } bug1.res diff = --- tests/bug1.c +++ /tmp/cocci-output-8348-a2c740-bug1.c @@ -1,4 +1,5 @@ -static int typhoon_ioctl(struct video_device *dev, unsigned int cmd,void *arg) +static int typhoon_ioctl(struct inode *i, struct file *f, unsigned int cmd, + void *arg) { struct typhoon_device *typhoon = dev->priv; return 0; bugloop.res diff = --- tests/bugloop.c +++ /tmp/cocci-output-8348-2cc65d-bugloop.c @@ -8,8 +8,8 @@ static int stir_transmit_thread(void *ar while (x) { /* if suspending, then power off and wait */ - if (unlikely(current->flags & PF_FREEZE)) { - refrigerator(PF_FREEZE); + if (unlikely(freezing(current))) { + refrigerator(); } } bugon.res diff = --- tests/bugon.c +++ /tmp/cocci-output-8348-02a068-bugon.c @@ -1,5 +1,4 @@ static void b44_tx(struct b44 *bp) { - if (unlikely(skb == NULL)) - BUG(); + BUG_ON(skb == NULL); } bus.res diff = --- tests/bus.c +++ /tmp/cocci-output-8348-d42555-bus.c @@ -1,5 +1,5 @@ int main () { struct foo *dev; - dev->probe(); - foo(); + c1(); + c2(); } cards.res diff = --- tests/cards.c +++ /tmp/cocci-output-8348-5f9400-cards.c @@ -1,3 +1,3 @@ -MODULE_PARM(io, "1-" __MODULE_STRING(MAX_CARDS) "i"); + int x; cast.res diff = --- tests/cast.c +++ /tmp/cocci-output-8348-3def48-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; } cast_iso.res diff = --- tests/cast_iso.c +++ /tmp/cocci-output-8348-0c47f9-cast_iso.c @@ -1,6 +1,6 @@ static int vx_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp) { - vx_core_t *vx = snd_magic_cast(vx_core_t, hw->private_data, return -ENXIO); - ak4117_t *chip = snd_magic_cast(ak4117_t, (void *)data, return); + vx_core_t *vx = hw->private_data; + ak4117_t *chip = (ak4117_t *)data; } castdecl.res diff = --- tests/castdecl.c +++ /tmp/cocci-output-8348-caec44-castdecl.c @@ -1,9 +1,9 @@ int main() { - long i1, i2; - long i3; - long lType = (long)TYPE_OBJ_DS_REPORT, lNuPageBloc = 0L; - unsigned char c1 = 'a', c2 = 'b'; - unsigned char c3 = 'c'; + int i1, i2; + int i3; + int lType = (int)TYPE_OBJ_DS_REPORT, lNuPageBloc = 0L; + char c1 = 'a', c2 = 'b'; + char c3 = 'c'; i1 = 11; i2 = 22; i3 = 33; change.res diff = --- tests/change.c +++ /tmp/cocci-output-8348-2896ee-change.c @@ -1,5 +1,6 @@ int main () { foo(); + blah(one, two); this_type = g_type_register_static(LASSO_TYPE_NODE, "LassoProvider", &this_info, 0); } change_type.res diff = --- tests/change_type.c +++ /tmp/cocci-output-8348-5484f2-change_type.c @@ -1,4 +1,4 @@ int main () { struct foo *x; - return (struct blah *)x; + return 42; } changei.res diff = --- tests/changei.c +++ /tmp/cocci-output-8348-2afbe7-changei.c @@ -1,7 +1,7 @@ -typedef struct i istruct; +typedef struct i xxx; -int main (int x) { - char c; - return x + c; +int xxx (int xxx) { + char xxx; + return xxx + xxx; } com.res diff = --- tests/com.c +++ /tmp/cocci-output-8348-5cbf3e-com.c @@ -1,8 +1,3 @@ int main() { - foo(); - /* a comment */ - foo(); - /* a comment */ - foo(); bar(); } comadd.res diff = --- tests/comadd.c +++ /tmp/cocci-output-8348-c6ff47-comadd.c @@ -1,3 +1,5 @@ +// some comment +// some other comment int main () { return 12; } comment_brace.res diff = --- tests/comment_brace.c +++ /tmp/cocci-output-8348-644e1c-comment_brace.c @@ -1,7 +1,9 @@ int main () { - while ((inw(base) & 0xad00) != 0) /* data status */ + while ((inw(base) & 0xad00) != 0) /* data status */ { + release_region(); continue; + } return 0; } comment_brace2.res diff = --- tests/comment_brace2.c +++ /tmp/cocci-output-8348-9a550d-comment_brace2.c @@ -1,7 +1,9 @@ int main () { - while ((inw(base) & 0xad00) != 0) /* data status */ + while ((inw(base) & 0xad00) != 0) /* data status */ { + release_region(); continue; + } return 0; } comments.res diff = --- tests/comments.c +++ /tmp/cocci-output-8348-f62875-comments.c @@ -1,5 +1,15 @@ int main() { + // Calls foo() + foo(); return 0; } +/** + Some info about @foo() + @return void +*/ +void foo() { + /* Do nothing */ +} + compare.res diff = --- tests/compare.c +++ /tmp/cocci-output-8348-cd1d81-compare.c @@ -1,7 +1,7 @@ struct aic7xxx_host { struct aic7xxx_cmd_queue { - Scsi_Cmnd *head; - Scsi_Cmnd *tail; + struct scsi_cmnd *head; + struct scsi_cmnd *tail; } completeq; unsigned char msg_buf[13]; /* The message for the target */ unsigned char msg_type; condexp.res diff = --- tests/condexp.c +++ /tmp/cocci-output-8348-0cb079-condexp.c @@ -5,7 +5,7 @@ main(int argc, char *argv[]) dpy = XOpenDisplay (displayname); if (!dpy) { fprintf (stderr, "%s: unable to open display \"%s\"\n", - ProgramName, XDisplayName (displayname)); + ProgramName, displayname ? displayname : getenv("DISPLAY")); Exit (1); } screenno = DefaultScreen (dpy); const.res warning: line 2: should text be a metavariable? warning: line 3: should buf be a metavariable? warning: line 3: should text be a metavariable? diff = --- tests/const.c +++ /tmp/cocci-output-8348-a5a4d2-const.c @@ -1,3 +1,3 @@ void foo(const char *text) { - strcat(buf->data, text); + strcat_safe(buf->data, buf->len, text); } const1bis.res warning: line 3: should i be a metavariable? diff = --- tests/const1bis.c +++ /tmp/cocci-output-8348-72c54a-const1bis.c @@ -1,5 +1,5 @@ void foo(int j) { - const int i; + float i; int i; i++; } const_adding.res diff = --- tests/const_adding.c +++ /tmp/cocci-output-8348-12ec5c-const_adding.c @@ -2,6 +2,6 @@ void main(int i) { const struct file_operations a; - struct file_operations b; + const struct file_operations b; } const_array.res diff = --- tests/const_array.c +++ /tmp/cocci-output-8348-dbfc62-const_array.c @@ -24,9 +24,9 @@ static const struct foo *r128_family4[] }; int main () { - ent->driver_data = sizeof(r128_family)/sizeof(char *); - ent->driver_data = sizeof(r128_family1)/sizeof(char *); - ent->driver_data = sizeof(r128_family2)/sizeof(char *); - ent->driver_data = sizeof(r128_family3)/sizeof(struct foo *); - ent->driver_data = sizeof(r128_family4)/sizeof(struct foo *); + ent->driver_data = ARRAY_SIZE(r128_family); + ent->driver_data = ARRAY_SIZE(r128_family1); + ent->driver_data = ARRAY_SIZE(r128_family2); + ent->driver_data = ARRAY_SIZE(r128_family3); + ent->driver_data = ARRAY_SIZE(r128_family4); } const_implicit_iso.res diff = --- tests/const_implicit_iso.c +++ /tmp/cocci-output-8348-f7bdb7-const_implicit_iso.c @@ -1,4 +1,4 @@ void main(double y) { - const int x; + const float x; } constrem.res warning: line 9: should f be a metavariable? diff = --- tests/constrem.c +++ /tmp/cocci-output-8348-373964-constrem.c @@ -1,3 +1 @@ -static const int a; -static const int (*f)(const int); constructor.res diff = --- tests/constructor.c +++ /tmp/cocci-output-8348-03400d-constructor.c @@ -1,5 +1,5 @@ int main () { - imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, - Edata, Esize_data, Edma_mask); + changed_imx_add_platform_device_dmamask(Ename, Eid, Eres, Enum_res, Edata, + Esize_data, Edma_mask); } constty.res diff = --- tests/constty.c +++ /tmp/cocci-output-8348-733d63-constty.c @@ -1,7 +1,6 @@ int main () { const int x; int y; - f(x,int); f(y,int); f(x,const int); } constx.res diff = --- tests/constx.c +++ /tmp/cocci-output-8348-3a3246-constx.c @@ -1,8 +1,8 @@ int main() { - foo(12); + foobar(12, 12); foo(x); - foo(CONSTANT); - foo('a'); - foo("string"); - foo(1.0001); + foobar(CONSTANT, CONSTANT); + foobar('a', 'a'); + foobar("string", "string"); + foobar(1.0001, 1.0001); } cptr.res diff = --- tests/cptr.c +++ /tmp/cocci-output-8348-19f3a1-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c +++ /tmp/cocci-output-8348-1f0e78-cr.c @@ -1,7 +1,6 @@ int main(void) { #if ! HAVE_XYZ - f1(); - f2(); + f3(); #endif } cr1a.res diff = --- tests/cr1a.c +++ /tmp/cocci-output-8348-40c778-cr1a.c @@ -6,14 +6,17 @@ int __init probe_base_port(int base) if (base) b = e = base; for (base = b; base <= e; base += 0x10) { - if (check_region(base, 0x10)) + if (!request_region(base, 0x10, req_reg_arg3)) continue; for (i = 0; i < 3; i++) fool = inw(base + 2); /* empty possibly uart_receive_buffer */ if ((inw(base + 6) & 0xffef) != 0x0001 || /* line_status */ - (inw(base) & 0xad00) != 0) + (inw(base) & 0xad00) != 0) { + release_region(base, 0x10); continue; + } return (base); + release_region(base, 0x10); } return 0; } cs_check.res warning: line 5: should handle be a metavariable? diff = --- tests/cs_check.c +++ /tmp/cocci-output-8348-77bec4-cs_check.c @@ -4,7 +4,7 @@ do { last_fn = (fn); if ((last_ret = (re static void nsp_cs_config(dev_link_t *link) { client_handle_t handle = link->handle; - CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(handle, &tuple)); + CS_CHECK(GetFirstTuple, pcmcia_get_first_tuple(link, &tuple)); cs_failed: return; } cst.res diff = --- tests/cst.c +++ /tmp/cocci-output-8348-18f86f-cst.c @@ -1,5 +1,5 @@ int main(int x) { - emu10k1_t *emu = snd_magic_cast(1, 2, return -ENXIO); + emu10k1_t *emu = 4; int z = 12; return y; } cst_null.res diff = --- tests/cst_null.c +++ /tmp/cocci-output-8348-1df4a2-cst_null.c @@ -2,9 +2,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; - vb = kmalloc(size,GFP_KERNEL); + vb = kzalloc(size, GFP_KERNEL); if (vb != NULL) { - memset(vb,0,size); videobuf_dma_init(&vb->dma); init_waitqueue_head(&vb->done); vb->magic = MAGIC_BUFFER; @@ -17,9 +16,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; - vb = kmalloc(size,GFP_KERNEL); + vb = kzalloc(size, GFP_KERNEL); if (vb) { - memset(vb,0,size); videobuf_dma_init(&vb->dma); init_waitqueue_head(&vb->done); vb->magic = MAGIC_BUFFER; @@ -32,9 +30,8 @@ void* videobuf_alloc(unsigned int size) { struct videobuf_buffer *vb; - vb = kmalloc(size,GFP_KERNEL); + vb = kzalloc(size, GFP_KERNEL); if (NULL != vb) { - memset(vb,0,size); videobuf_dma_init(&vb->dma); init_waitqueue_head(&vb->done); vb->magic = MAGIC_BUFFER; csw.res warning: line 4: should x be a metavariable? diff = --- tests/csw.c +++ /tmp/cocci-output-8348-046f2f-csw.c @@ -1,14 +1,6 @@ int main() { switch (x) { - case XYZ: - link->state &= ~DEV_PRESENT; - if (link->state & DEV_CONFIG) { - bluecard_close(info); - bluecard_release(link); - } - break; case MID: mid(); break; - case FOO: bar(); break; } } dbg.res diff = --- tests/dbg.c +++ /tmp/cocci-output-8348-f61ae7-dbg.c @@ -4,5 +4,6 @@ static inline void alloc_resource(struct struct resource *pr, *r = &dev->resource[idx]; if (pr) - DBG("PCI"); + DBG else + pr = NULL;("PCI"); } dbg1.res diff = --- tests/dbg1.c +++ /tmp/cocci-output-8348-f73991-dbg1.c @@ -1,5 +1,6 @@ static inline void alloc_resource(struct pci_dev *dev, int idx) { - DBG("PCI"); + DBG + E = NULL;("PCI"); } dc_close.res diff = --- tests/dc_close.c +++ /tmp/cocci-output-8348-6f7a1a-dc_close.c @@ -5,6 +5,7 @@ initicc(struct IsdnCardState *cs) INIT_WORK(&cs->work, icc_bh, cs); cs->setstack_d = setstack_icc; + cs->DC_Send_Data = d_fill_fifo; cs->DC_Close = DC_Close_icc; cs->dc.icc.mon_rx = NULL; debug.res diff = --- tests/debug.c +++ /tmp/cocci-output-8348-fe38b2-debug.c @@ -1,5 +1,4 @@ static int __init init_3c574_cs(void) { - DEBUG(0, "%s\n", version); return 0; } dec.res diff = --- tests/dec.c +++ /tmp/cocci-output-8348-13eee4-dec.c @@ -1,4 +1,5 @@ int f(int x) { + int z; static int y; return x; } decl.res diff = --- tests/decl.c +++ /tmp/cocci-output-8348-bf3757-decl.c @@ -1,5 +1,6 @@ static int az_ioctl(int cmd, void *arg) { + foo(); return 0; } decl2.res warning: line 8: should x be a metavariable? diff = --- tests/decl2.c +++ /tmp/cocci-output-8348-4d1724-decl2.c @@ -1,6 +1,6 @@ static int az_ioctl(int cmd, void *arg) { - if (x) { + if (y) { return 0; } else { decl_space.res diff = --- tests/decl_space.c +++ /tmp/cocci-output-8348-a9cd33-decl_space.c @@ -1,4 +1,4 @@ int main () { - int *x = y; - int x = y; + int *x = g; + int x = g; } decl_split.res decl_star.res diff = --- tests/decl_star.c +++ /tmp/cocci-output-8348-addf2e-decl_star.c @@ -1,5 +1,5 @@ int main () { - int *x; - int x; + int *y; + int y; return x; } defe.res diff = --- tests/defe.c +++ /tmp/cocci-output-8348-df0de2-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c +++ /tmp/cocci-output-8348-4195d4-define_exp.c @@ -1,5 +1,5 @@ #define IRQ_T(info) ((info->flags & ASYNC_SHARE_IRQ) ? \ - SA_SHIRQ : SA_INTERRUPT) + IRQF_SHARED : IRQF_DISABLED) void main(int i) define_param.res diff = --- tests/define_param.c +++ /tmp/cocci-output-8348-38726d-define_param.c @@ -1,10 +1,10 @@ -#define fieldsize(a) (sizeof(a)/sizeof(*a)) + static int atari_proc_infos(unsigned char *nvram, char *buffer, int *len, off_t *begin, off_t offset, int size) { - for (i = fieldsize(boot_prefs) - 1; i >= 0; --i) { + for (i = ARRAY_SIZE(boot_prefs) - 1; i >= 0; --i) { if (nvram[1] == boot_prefs[i].val) { PRINT_PROC("%s\n", boot_prefs[i].name); break; deftodo.res delete_function.res diff = --- tests/delete_function.c +++ /tmp/cocci-output-8348-15b24a-delete_function.c @@ -2,12 +2,6 @@ int first () { return 0; } -int foo() { - a(); - a(); - a(); -} - int last () { return 0; } delp.res diff = --- tests/delp.c +++ /tmp/cocci-output-8348-ca99d2-delp.c @@ -1,4 +1,4 @@ int main () { return - (foo); + foo; } deref.res diff = --- tests/deref.c +++ /tmp/cocci-output-8348-55835c-deref.c @@ -1,6 +1,6 @@ int main () { int **q; - foo(*q+12); - xxx(q[0]+12); + foo(12); + xxx(12); yyy(q+12); } destroy.res diff = --- tests/destroy.c +++ /tmp/cocci-output-8348-fa7998-destroy.c @@ -6,7 +6,12 @@ static void wlcore_nvs_cb(const struct f goto out; out_irq: +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) free_irq(wl->irq, wl); +#else + compat_free_threaded_irq(&private->irq_compat); + compat_destroy_threaded_irq(&wl->irq_compat); +#endif #ifdef foo out: release_firmware(fw); devlink.res diff = --- tests/devlink.c +++ /tmp/cocci-output-8348-386b00-devlink.c @@ -1,12 +1,12 @@ -static void cm4000_release(dev_link_t *link); +static void cm4000_release(struct pcmcia_device *link); int main () { memset(&dev->atr_csum,0, - sizeof(dev_link_t) - sizeof(dev_node)); + sizeof(struct pcmcia_device) - sizeof(dev_node)); } int xmain () { - dev_link_t x; + struct pcmcia_device x; memset(&dev->atr_csum,0, - sizeof(dev_link_t) - sizeof(dev_node)); + sizeof(struct pcmcia_device) - sizeof(dev_node)); } disjexpr.res diff = --- tests/disjexpr.c +++ /tmp/cocci-output-8348-2de2a3-disjexpr.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v, v.fld2); + f(v->fld, *v, v->fld2); } disjexpr_ver1.res diff = --- tests/disjexpr_ver1.c +++ /tmp/cocci-output-8348-de45d5-disjexpr_ver1.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld); + f(v->fld); } disjexpr_ver2.res diff = --- tests/disjexpr_ver2.c +++ /tmp/cocci-output-8348-8dde89-disjexpr_ver2.c @@ -1,3 +1,3 @@ int main (int i) { - f(v.fld, v.fld2, v); + f(v->fld, v->fld2, *v); } disjid.res diff = --- tests/disjid.c +++ /tmp/cocci-output-8348-f7e2d2-disjid.c @@ -1,5 +1,5 @@ -int foo (int x, int z) { return 0; } -int foo (int y, int z) { return 0; } -int bar (int x, int z) { return 0; } -int bar (int y, int z) { return 0; } +int foo (int x, int z) { return 1; } +int foo (int y, int z) { return 1; } +int bar (int x, int z) { return 1; } +int bar (int y, int z) { return 1; } int xxx (int y, int z) { return 0; } distribute.res diff = --- tests/distribute.c +++ /tmp/cocci-output-8348-4840a1-distribute.c @@ -1,4 +1,4 @@ int main(int i) { - f(1+1); + f(g(1) * 0 * g(2)); } double.res diff = --- tests/double.c +++ /tmp/cocci-output-8348-3403ce-double.c @@ -1,5 +1,5 @@ static void BChannel_proc_xmt(struct BCState *bcs) { - if (!test_bit(BC_FLG_BUSY, &bcs->Flag) && (!skb_queue_len(&bcs->squeue))) { + if (!test_bit(BC_FLG_BUSY, &bcs->Flag) && skb_queue_empty(&bcs->squeue)) { st->l2.l2l1(st, PH_DEACTIVATE | CONFIRM, NULL); } } double_assign.res diff = --- tests/double_assign.c +++ /tmp/cocci-output-8348-bb4bfd-double_assign.c @@ -4,6 +4,5 @@ int main() { } int badmain() { - x = 12; x = 1; } double_lines.res diff = --- tests/double_lines.c +++ /tmp/cocci-output-8348-9a1acc-double_lines.c @@ -1,7 +1,4 @@ int main () { test(); - foo(); - foo(); - foo(); endtest(); } double_switch.res doublepos.res diff = --- tests/doublepos.c +++ /tmp/cocci-output-8348-8f8af5-doublepos.c @@ -1,5 +1,4 @@ int main() { - f(1,2); f(1,5); f(6,5); } doubleswitch.res diff = --- tests/doubleswitch.c +++ /tmp/cocci-output-8348-baecda-doubleswitch.c @@ -3,8 +3,6 @@ void zfLnxRecvEth(zdev_t* dev, zbuf_t* b #ifdef ZM_AVOID_UDP_LARGE_PACKET_FAIL zbuf_t *new_buf; - foo(); - switch(netif_rx(new_buf)) #else doundo.res diff = --- tests/doundo.c +++ /tmp/cocci-output-8348-253818-doundo.c @@ -4,5 +4,5 @@ int main() { const s8 (*queue_priority_mapping)[2]; s8 *noevent; - foo(); + new_foo(); } dowhile.res diff = --- tests/dowhile.c +++ /tmp/cocci-output-8348-5df258-dowhile.c @@ -1,7 +1,5 @@ int main() { do { - f(); } while (0); - g(); } dropbr.res diff = --- tests/dropbr.c +++ /tmp/cocci-output-8348-945906-dropbr.c @@ -1,5 +1,3 @@ int main () { - if (a) { - bar(); - } + if (a)foo(); } dropcom.res diff = --- tests/dropcom.c +++ /tmp/cocci-output-8348-b8d68d-dropcom.c @@ -2,10 +2,6 @@ int one() { return 0; } #endif /* XXX */ -int main () { - return 1; -} - int xyz () { return 1; } dropenderr.res diff = --- tests/dropenderr.c +++ /tmp/cocci-output-8348-8c2509-dropenderr.c @@ -1,8 +1,6 @@ int main () { - if (x) goto end; - if (x) goto end2; - return 0; - end: - end2: + if (x) {} + if (x) {} + return 0; return -1; } dropf.res diff = --- tests/dropf.c +++ /tmp/cocci-output-8348-6cec6f-dropf.c @@ -1,3 +1,3 @@ int main() { - x = f(1) + f(3); + x = f(1 + 3) + f(3 + 3); } dropparam.res diff = --- tests/dropparam.c +++ /tmp/cocci-output-8348-477537-dropparam.c @@ -2,12 +2,12 @@ int f(char *x, int y, char* z) { return; } -int g(char *x, int y, char* z) { +int g(char *x, char* z) { return; } void main(void) { - g("toto", 3, "tata"); + g("toto", "tata"); } eb1.res diff = --- tests/eb1.c +++ /tmp/cocci-output-8348-76abcd-eb1.c @@ -1,7 +1,13 @@ int func() { int c; - Packet p1,p2; + Packet * p1 = SCMalloc(SIZE_OF_PACKET),* p2 = SCMalloc(SIZE_OF_PACKET); int y; + if (p1 == NULL) + return 0; + if (p2 == NULL) + return 0; a = 3; + SCFree(p1); + SCFree(p2); return x+y; } edots.res diff = --- tests/edots.c +++ /tmp/cocci-output-8348-7db10f-edots.c @@ -1,6 +1,6 @@ void main(int i) { - foo[45]; - bar[45+v.field]; + foo; + bar; // f(foo[45] + bar[45]); edots_ver1.res diff = --- tests/edots_ver1.c +++ /tmp/cocci-output-8348-392cc2-edots_ver1.c @@ -1,7 +1,7 @@ void main(int i) { - foo[45]; - bar[45+v.field]; + foo; + bar; - f(foo[45] + bar[45]); + f(foo + bar); } elsify.res diff = --- tests/elsify.c +++ /tmp/cocci-output-8348-6df1ca-elsify.c @@ -1,7 +1,7 @@ int main () { if (x) - GOTO(rc = 1); + rc = 1; else - GOTO(rc = 2); + rc = 2; } empty.res diff = --- tests/empty.c +++ /tmp/cocci-output-8348-ab63fa-empty.c @@ -1,6 +1,6 @@ static int vlsi_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) { - pci_restore_state(pdev, idev->cfg_space); + pci_restore_state(pdev); if (ring_first(idev->tx_ring) == NULL) { } else end_commas.res diff = --- tests/end_commas.c +++ /tmp/cocci-output-8348-2e45f5-end_commas.c @@ -1,4 +1,6 @@ static struct i2c_client client_template = { - .name = "adv7175_client", - .driver = &i2c_driver_adv7175 + .driver = &i2c_driver_adv7175, + .dev = { + .name = "adv7175_client", + } }; endif.res warning: line 5: should x be a metavariable? diff = --- tests/endif.c +++ /tmp/cocci-output-8348-022eb6-endif.c @@ -2,18 +2,23 @@ void f(int i) { x = 1; if(1) x = 3; + foo(); x = 1; while(1) x = 3; + foo(); x = 1; do x = 3; while(1); + foo(); x = 1; for(1;1;1) x = 3; + foo(); x = 1; for(1;1;1) { x = 3; } + foo(); // switch(1) { // case 0: x = 3; endnl.res diff = --- tests/endnl.c +++ /tmp/cocci-output-8348-531ace-endnl.c @@ -1,18 +1,36 @@ int main () { +#ifdef FOO + call(1); +#endif foo(1); bar(2); +#ifdef BAR + call(2); +#endif one: +#ifdef FOO + call(3); +#endif foo(3); two: bar(4); +#ifdef BAR + call(4); +#endif three: xxx(5); #ifdef X #endif +#ifdef FOO + call(6); +#endif foo(6); #ifdef X #endif bar(7); +#ifdef BAR + call(7); +#endif #ifdef X #endif } endpos.res warning: s: metavariable p not used in the - or context code Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_1d490c.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_1d490c.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: Warning 58: no cmx file was found in path for module Iteration, and its interface was not compiled with -opaque Compilation OK! Loading ML code of the SP... diff = --- tests/endpos.c +++ /tmp/cocci-output-8348-d57100-endpos.c @@ -1,4 +1,5 @@ int main () { + main(); if (x) { foo(); return -1; @@ -13,3 +14,7 @@ out: print(); return -1; } + +int main() { + return 0; +} enum.res diff = --- tests/enum.c +++ /tmp/cocci-output-8348-a15541-enum.c @@ -18,5 +18,5 @@ xxx static reg_errcode_t regex_compile () { - unsigned char *pending_exact = 0; + unsigned char *pending_exact = NULL; } exitc.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_82add4.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_82add4.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: Warning 58: no cmx file was found in path for module Iteration, and its interface was not compiled with -opaque Compilation OK! Loading ML code of the SP... Failure in rule starting on line 8 diff = --- tests/exitc.c +++ /tmp/cocci-output-8348-12417b-exitc.c @@ -1,6 +1,6 @@ int main () { - f(a1); - f(a2); - f(done); - f(a4); + g(a1); + g(a2); + g(done); + g(a4); } exitp.res diff = --- tests/exitp.c +++ /tmp/cocci-output-8348-1ff20d-exitp.c @@ -1,6 +1,6 @@ int main () { - f(a1); - f(a2); - f(done); - f(a4); + g(a1); + g(a2); + g(done); + g(a4); } exp.res diff = --- tests/exp.c +++ /tmp/cocci-output-8348-eaf277-exp.c @@ -1,14 +1,14 @@ int main(int i) { - int k = foo(); + int k = bar(); if(1) { - foo(); + bar(); } else { - foo(); + bar(); } - foo(); + bar(); } expnest.res diff = --- tests/expnest.c +++ /tmp/cocci-output-8348-242e9a-expnest.c @@ -2,5 +2,5 @@ int main() { x = 3 + 4; x = f() + 15; x = 15 + g(); - x = f() + g(); + x = f() - g(); } expopt.res diff = --- tests/expopt.c +++ /tmp/cocci-output-8348-eb8fa8-expopt.c @@ -1,5 +1,5 @@ int main() { int *x; f(x); - *x = 7; + x = 7; } expopt2.res diff = --- tests/expopt2.c +++ /tmp/cocci-output-8348-aa5af1-expopt2.c @@ -1,5 +1,5 @@ void main(int i) { - f(v, w.aa); + f(v, g(w.aa)); } expopt3.res diff = --- tests/expopt3.c +++ /tmp/cocci-output-8348-adcfac-expopt3.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - struct video_tuner v; - pcm20_getflags(pcm20, &v.flags, &v.xxx, &v.signal); + struct video_tuner *v; + pcm20_getflags(pcm20, &v->flags, &v->xxx, &v->signal); } expopt3_ver1.res diff = --- tests/expopt3_ver1.c +++ /tmp/cocci-output-8348-1ed03f-expopt3_ver1.c @@ -1,6 +1,6 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - struct video_tuner v; + struct video_tuner *v; //&v.field; - f(&v.field1, &v.field2, &v.field3, &v.field4); + f(&v->field1, &v->field2, &v->field3, &v->field4); } expopt3_ver2.res diff = --- tests/expopt3_ver2.c +++ /tmp/cocci-output-8348-d09c01-expopt3_ver2.c @@ -1,5 +1,5 @@ static int pcm20_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - struct video_tuner v; - f(v.field1, v.field2); + struct video_tuner *v; + f(v->field1, v->field2); } extra.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_3ceb4b.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_3ceb4b.ml File "/tmp/ocaml_cocci_3ceb4b.ml", line 27, characters 4-6: Warning 26: unused variable ff. File "_none_", line 1: Warning 58: no cmx file was found in path for module Ast_c, and its interface was not compiled with -opaque File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: Warning 58: no cmx file was found in path for module Iteration, and its interface was not compiled with -opaque Compilation OK! Loading ML code of the SP... diff = --- tests/extra.c +++ /tmp/cocci-output-8348-1dae3a-extra.c @@ -1,12 +1,23 @@ #ifdef FIRST -int main (int a, struct foo *b, struct bar *c) { +int _called_function_0 (int a, struct foo *b, struct bar *c) { a = b->x; return c->d; } + +int main(int a, struct foo *b, struct bar *c) { + assert(c != NULL); + assert(b != NULL); + return _called_function_0(a, b, c); +} #else -int main (int a, struct foo *xyz) { +int _called_function_1 (int a, struct foo *xyz) { a = xyz->x; return xyz->d; } + +int main(int a, struct foo *xyz) { + assert(xyz != NULL); + return _called_function_1(a, xyz); +} #endif failing_andany.res diff = --- tests/failing_andany.c +++ /tmp/cocci-output-8348-5a261d-failing_andany.c @@ -8,6 +8,4 @@ static int smc_probe1(struct net_device static int smc_probe2(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) { - request_irq(dev); - register_netdev(dev); } fields.res warning: line 4: should x be a metavariable? diff = --- tests/fields.c +++ /tmp/cocci-output-8348-80c1b8-fields.c @@ -1,4 +1,7 @@ struct foo x = { + .a = 1, + .b = 2, + .c = 3, .xa = 1, .xb = 2, .xc = 3, fieldsmin.res warning: line 4: should x be a metavariable? diff = --- tests/fieldsmin.c +++ /tmp/cocci-output-8348-8e501d-fieldsmin.c @@ -1,5 +1,3 @@ struct foo x = { - .a = 1, - .b = 2, .c = 3, }; find_long.res diff = --- tests/find_long.c +++ /tmp/cocci-output-8348-fab3ae-find_long.c @@ -3,8 +3,8 @@ long function() long a; int b; - a + b; - b + a; + (long)(a + b); + (long)(b + a); return a; } fix_flow_need.res diff = --- tests/fix_flow_need.c +++ /tmp/cocci-output-8348-32de21-fix_flow_need.c @@ -5,7 +5,6 @@ void main(int i) { if(1) { foo(); } - bar(); foobar(); } fn_todo.res diff = --- tests/fn_todo.c +++ /tmp/cocci-output-8348-789dbe-fn_todo.c @@ -5,6 +5,6 @@ static void task_kill_later(struct asd_a struct Scsi_Host *shost = sas_ha->core.shost; struct sas_task *task = ascb->uldd_task; - INIT_WORK(&task->abort_work, (void (*)(void *))sas_task_abort, task); + INIT_WORK(&task->abort_work, sas_task_abort); queue_work(shost->work_q, &task->abort_work); } fnptr.res diff = --- tests/fnptr.c +++ /tmp/cocci-output-8348-7af9bb-fnptr.c @@ -8,5 +8,5 @@ static int sci_request_irq(struct sci_po sci_er_interrupt, sci_rx_interrupt, sci_tx_interrupt, sci_br_interrupt, }; - request_irq(port->irqs[0], sci_mpxed_interrupt, SA_INTERRUPT); + request_irq(port->irqs[0], sci_mpxed_interrupt, foo()); } fnret.res warning: line 6: should x be a metavariable? diff = --- tests/fnret.c +++ /tmp/cocci-output-8348-192e17-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c +++ /tmp/cocci-output-8348-df094b-fnty.c @@ -1,4 +1,4 @@ -struct allfns { +struct newname { int (*x) (int); int (*y) (int); }; format.res diff = --- tests/format.c +++ /tmp/cocci-output-8348-646ec6-format.c @@ -1,5 +1,5 @@ int main () { - printf("one %d two\n", 1); - printf("one %d two %d three\n", 1, 2); + printf("blah", 1); + printf("blah", 1, 2); printf("one two three\n"); } format2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_0819d3.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_0819d3.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: Warning 58: no cmx file was found in path for module Iteration, and its interface was not compiled with -opaque Compilation OK! Loading ML code of the SP... diff = format string is 1x format string is 2x --- tests/format2.c +++ /tmp/cocci-output-8348-23b6db-format2.c @@ -1,4 +1,3 @@ int main () { foo("blah %x blah"); - foo("blah %1x blah %2x blah"); } formatlist.res diff = --- tests/formatlist.c +++ /tmp/cocci-output-8348-bc4e9a-formatlist.c @@ -1,10 +1,10 @@ int main () { foo("xyz %d abc"); - foo("xyz %d %d abc"); + foo("blah2"); foo("mno %d %d abc"); foo("mno %d abc %d %d abc %d"); - foo("xyz %d abc %d %d abc %d"); - foo("xyz %d abc %d %d abc %d mno"); + foo("blah"); + foo("blah"); foo("xyz %d abc %d %d abc %d %d abc %d"); foo("xyz %d abc %d %d abc"); foo("xyz abc"); fortest.res diff = --- tests/fortest.c +++ /tmp/cocci-output-8348-d98896-fortest.c @@ -1,18 +1,18 @@ int main() { - for(x=0; x!=10; x++) - y = 12; - for(x=0; x!=10; ) - y = 12; - for(x=0; ; x++) - y = 12; - for(x=0; ; ) - y = 12; - for( ; x!=10; x++) - y = 12; - for( ; x!=10; ) - y = 12; - for( ; ; x++) - y = 12; - for( ; ; ) - y = 12; + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); + bar(); + foo(); } fortype.res warning: line 4: should x be a metavariable? diff = --- tests/fortype.c +++ /tmp/cocci-output-8348-4c6517-fortype.c @@ -1,4 +1,4 @@ int main () { - for (int x = 0; x!=10; x++) - return x; + for (char * p = 0; y!=10; y++) + return y; } four.res diff = --- tests/four.c +++ /tmp/cocci-output-8348-6bb431-four.c @@ -1,5 +1,3 @@ int main () { f(1); - h(2); - i(2); } foura.res diff = --- tests/foura.c +++ /tmp/cocci-output-8348-b27eb1-foura.c @@ -1,5 +1,4 @@ int main () { f(1); h(2); - i(2); } fp.res diff = --- tests/fp.c +++ /tmp/cocci-output-8348-e64351-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); } fsh.res diff = --- tests/fsh.c +++ /tmp/cocci-output-8348-dd3913-fsh.c @@ -1,4 +1,4 @@ int main () { f(c); - g(); + g(foo-c); } fun.res warning: line 5: should x be a metavariable? warning: line 5: should x be a metavariable? diff = --- tests/fun.c +++ /tmp/cocci-output-8348-266d73-fun.c @@ -1 +1,4 @@ +struct a { + int a; +}; int f(int x) { return x; } func.res diff = --- tests/func.c +++ /tmp/cocci-output-8348-99c9ef-func.c @@ -1,6 +1,7 @@ static int hidg_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) { - VDBG(cdev, "hid_setup crtl_request : bRequestType:0x%x bRequest:0x%x " - "Value:0x%x\n", ctrl->bRequestType, ctrl->bRequest, value); + VDBG(cdev, + "%s crtl_request : bRequestType:0x%x bRequest:0x%x Value:0x%x\n", + ctrl->bRequestType, ctrl->bRequest, value); } gcc_min_max.res diff = --- tests/gcc_min_max.c +++ /tmp/cocci-output-8348-ec07ab-gcc_min_max.c @@ -1,8 +1,8 @@ int main() { int a, b; - a ? b; - a >?= b; + min(a, b); + a = min(a, b); + max(a, b); + a = max(a, b); } getc.res diff = --- tests/getc.c +++ /tmp/cocci-output-8348-a0dd55-getc.c @@ -1,4 +1,4 @@ int IFoo_QueryInterface(int *iface, long *riid, void **ppv) { - return IBar_QueryInterface(iface, riid, *ppv); + return 12; } gilles-question.res diff = --- tests/gilles-question.c +++ /tmp/cocci-output-8348-4e8177-gilles-question.c @@ -2,8 +2,6 @@ void main(int i) { f(0); if(1) { - g(0); } - g(0); } gotobreak.res diff = --- tests/gotobreak.c +++ /tmp/cocci-output-8348-90cdb8-gotobreak.c @@ -11,5 +11,5 @@ static void sedlbauer_config(struct pcmc CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(link, &tuple)); } - return; + return 0; } hd.res warning: line 4: should x be a metavariable? warning: line 4: should y be a metavariable? diff = --- tests/hd.c +++ /tmp/cocci-output-8348-47e35e-hd.c @@ -1,3 +1,3 @@ #include "hd.h" -int f(int x, int y) { return x; } +int f(int x) { return x; } headers.res diff = --- tests/headers.c +++ /tmp/cocci-output-8348-fff584-headers.c @@ -10,12 +10,12 @@ static int empeg_write (struct usb_seria } -static void empeg_write_bulk_callback (struct urb *urb, struct pt_regs *regs) +static void empeg_write_bulk_callback(struct urb *urb) { } -static void empeg_read_bulk_callback (struct urb *urb, struct pt_regs *regs) +static void empeg_read_bulk_callback(struct urb *urb) { usb_fill_bulk_urb(empeg_read_bulk_callback); hex.res diff = --- tests/hex.c +++ /tmp/cocci-output-8348-4718be-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); } hil1.res diff = --- tests/hil1.c +++ /tmp/cocci-output-8348-772f59-hil1.c @@ -2,5 +2,5 @@ { HILSE_FUNC, { func: &funct }, funct_arg, zero_rc }, int main () { - return 12; + return 5; } idstr.res diff = --- tests/idstr.c +++ /tmp/cocci-output-8348-462987-idstr.c @@ -1,3 +1,3 @@ int main () { - printf("arena 0x%08x, numfree = %d\n", (unsigned)dt, dt->numfree); + printf("y", (unsigned)dt, dt->numfree); } if.res diff = --- tests/if.c +++ /tmp/cocci-output-8348-9bf79b-if.c @@ -1,27 +1,37 @@ int main () { + before(); f(x); + after(); + before(); g(x); + after(); } int main1 () { + before(); f(x); if (x == NULL) { + before(); g(x); } } int main1 () { + before(); f(x); while (x == NULL) { if (q == 3) { + before(); g(x); } } x = 6; } int main2 () { + before(); f(x); if (x == NULL || y == 2) { + before(); g(x); } } ifadd.res diff = --- tests/ifadd.c +++ /tmp/cocci-output-8348-9230a4-ifadd.c @@ -3,6 +3,7 @@ int main() { if (x) { one(); two(); + foo(); } } } ifbr.res warning: line 13: should ret be a metavariable? warning: rule starting on line 1: metavariable E not used in the - or context code ifd.res diff = --- tests/ifd.c +++ /tmp/cocci-output-8348-575601-ifd.c @@ -1,9 +1,13 @@ int main () { one(); +#ifdef 0 +#ifdef 10 foo(); one(); one(); bar(); +#endif +#endif one(); } ifdef1.res diff = --- tests/ifdef1.c +++ /tmp/cocci-output-8348-689e23-ifdef1.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#include +#endif #include #include ifdef2.res diff = --- tests/ifdef2.c +++ /tmp/cocci-output-8348-a8563d-ifdef2.c @@ -1,6 +1,11 @@ #include #include #include +#ifdef CONFIG_NKERNEL +#include +#include +unsigned long maxsize = 0; +#endif #include ifdef3.res diff = --- tests/ifdef3.c +++ /tmp/cocci-output-8348-daf639-ifdef3.c @@ -2,6 +2,14 @@ #include #include #include +#ifdef CONFIG_NKERNEL +#include +#define CONFIG_NKERNEL_NO_SHARED_IRQ // use local (native) mask/unmask +#undef CONFIG_NKERNEL_DEBUG_IRQ +#endif +static inline void nop(void) { + int i; +} void init_IRQ(void) ifdef4.res warning: line 9: should desc be a metavariable? warning: line 9: should irq_desc be a metavariable? diff = --- tests/ifdef4.c +++ /tmp/cocci-output-8348-c026e2-ifdef4.c @@ -7,7 +7,10 @@ void init_IRQ(void) { for (irq = 0; irq < IRQS; irq++) { - *desc = irq_desc; +#ifdef CONFIG_NKERNEL + if (irq < IRQ_LIMIT) +#endif +*desc = irq_desc; uselessCall(); } } ifdef5.res diff = --- tests/ifdef5.c +++ /tmp/cocci-output-8348-dd32c7-ifdef5.c @@ -11,3 +11,10 @@ void init_IRQ(void) uselessCall(); } } +#ifdef CONFIG_NKERNEL +#ifndef TIMER_32K_SYNCHRONIZED +#define TIMER_32K_SYNCHRONIZED 0xffffffff +#endif +unsigned long nk_vtick_read_stamp(void) { + return omap_readl(TIMER_32K_SYNCHRONIZED); +} ifdef6.res diff = --- tests/ifdef6.c +++ /tmp/cocci-output-8348-8c3483-ifdef6.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#define foo(x) f(x) +#endif #include #include ifdef6a.res diff = --- tests/ifdef6a.c +++ /tmp/cocci-output-8348-352f35-ifdef6a.c @@ -1,4 +1,7 @@ #include +#ifdef CONFIG_NKERNEL +#define foo(x) f(x) +#endif #include #include #include ifdefmeta.res diff = --- tests/ifdefmeta.c +++ /tmp/cocci-output-8348-2d5c02-ifdefmeta.c @@ -1,26 +1,22 @@ int main() { - buf = alloca(3 - #ifdef PLATFORM_A -// platform a stuff - +5 - +50 - #endif - #ifdef PLATFORM_B -/* platform b stuff */ - +2 - #endif - ); - buf = alloca(3 - #ifdef PLATFORM_A -// platform a stuff - +5 - +50 - #endif - #ifdef PLATFORM_B -/* platform b stuff */ - +2 - #endif - ); + buf = malloc(3 +#ifdef PLATFORM_A + + 5 + 50 +#endif + +#ifdef PLATFORM_B + + 2 +#endif +); + buf = malloc(3 +#ifdef PLATFORM_A + + 5 + 50 +#endif + +#ifdef PLATFORM_B + + 2 +#endif +); } int other() { @@ -41,9 +37,6 @@ int other() { } int third() { - buf = alloca(3+5+2); - buf = alloca(3 - +5 - +2 - ); + buf = malloc(3 + 5 + 2); + buf = malloc(3 + 5 + 2); } ifdefmeta1.res diff = --- tests/ifdefmeta1.c +++ /tmp/cocci-output-8348-546859-ifdefmeta1.c @@ -1,17 +1,2 @@ int main() { - buf = alloca(3 - #ifdef PLATFORM_A -// platform a stuff - - - +5 - - - - #endif - #ifdef PLATFORM_B -/* platform b stuff */ - +2 - #endif - ); } ifdefmeta2.res diff = --- tests/ifdefmeta2.c +++ /tmp/cocci-output-8348-6c9705-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 - - - +5 - - - - - +2 - ); } ifdefmeta3.res diff = --- tests/ifdefmeta3.c +++ /tmp/cocci-output-8348-85c8e9-ifdefmeta3.c @@ -1,11 +1,5 @@ int main () { f(); - if (foo) { - one(); -#ifdef ONE - two(); -#endif - three(); - } + xxx(); g(); } ifend.res diff = --- tests/ifend.c +++ /tmp/cocci-output-8348-6463d7-ifend.c @@ -3,5 +3,3 @@ static int vortex_debug = VORTEX_DEBUG; #else static int vortex_debug = 1; #endif - -#include ifgoto.res diff = --- tests/ifgoto.c +++ /tmp/cocci-output-8348-073952-ifgoto.c @@ -1,5 +1,7 @@ int main () { - if (x) - GOTO(l,a = 3); + if (x) { + a = 3; + goto l; + } l: return; } ifields.res diff = --- tests/ifields.c +++ /tmp/cocci-output-8348-42c11c-ifields.c @@ -1,14 +1,16 @@ typedef struct tag_obj { int x; int y; - const IFaceVtbl *lpVtbl; + IFace IFace_iface; int a; } Tobj; static struct IFaceImpl obj = { 1, 2, - &x, + { + &x, 4, + }, 3 }; ifif.res diff = --- tests/ifif.c +++ /tmp/cocci-output-8348-5c0264-ifif.c @@ -1,5 +1,13 @@ int main () { +#ifdef FOO1 +#ifdef FOO2 foo(); +#endif /* FOO1 */ +#endif /* FOO2 */ xxx(); +#ifdef BAR1 +#ifdef BAR2 bar(); +#endif /* BAR1 */ +#endif /* BAR2 */ } ifreturn.res diff = --- tests/ifreturn.c +++ /tmp/cocci-output-8348-fb9919-ifreturn.c @@ -1,31 +1,46 @@ int main () { if (x) { - return 1; + blah(); + { + return 1; + } } return 12; } int main () { if (a) { - if (x) { - return 1; + blah(); + { + if (x) { + blah(); + { + return 1; + } + } + b(); } - b(); } return 12; } int main () { if (a) { - if (b) { - if (x) { - return 1; - } - else { - return 1; + blah(); + { + if (b) { + blah(); + { + if (x) { + return 1; + } + else { + return 1; + } + } } + b(); } - b(); } return 12; } ifreturn3.res diff = --- tests/ifreturn3.c +++ /tmp/cocci-output-8348-c01c6a-ifreturn3.c @@ -3,7 +3,10 @@ int GetExitCode (int iFlag_Code) if(iFlag_Code==OK) { return OK; } else // blah + { + mwtrace(); return WARNING; + } return 0; } @@ -11,7 +14,9 @@ int GetExitCode (int iFlag_Code) { if(iFlag_Code==OK) { return OK; - } else + } else { + mwtrace(); return WARNING; + } return 0; } ifreturn4.res diff = --- tests/ifreturn4.c +++ /tmp/cocci-output-8348-244b83-ifreturn4.c @@ -2,10 +2,16 @@ int GetExitCode (int iFlag_Code) { if(iFlag_Code==OK) { return OK; - } else if(iFlag_Code==WARNING) { - return WARNING; } else { - return_ERREUR; + mwtrace(); + if(iFlag_Code==WARNING) { + return WARNING; + } else { + mwtrace(); + { + return_ERREUR; + } + } } return 0; } ifreturn6.res diff = --- tests/ifreturn6.c +++ /tmp/cocci-output-8348-0363c7-ifreturn6.c @@ -3,7 +3,8 @@ int main () { blah(); goto end; } - else goto end2; + else blah(); + later(); end: xxx(); end2: ifzer.res diff = --- tests/ifzer.c +++ /tmp/cocci-output-8348-7b58bc-ifzer.c @@ -3,6 +3,5 @@ int main() { and have lived on another thread's stack; that stack may have become unmapped meanwhile (CONFIG_DEBUG_PAGEALLOC). */ #endif - foo(); } ifzz.res diff = --- tests/ifzz.c +++ /tmp/cocci-output-8348-f0f179-ifzz.c @@ -2,9 +2,9 @@ if 0 char c; #endif -int foo(void) +size_t foo(void) { - int i = 1; + size_t i = 1; #if 0 TRACE("\n"); inc.res diff = --- tests/inc.c +++ /tmp/cocci-output-8348-031fe7-inc.c @@ -1,2 +1 @@ -#define foo 3 -#define xxx 4 +#define foobar 3 incdir.res incl.res diff = --- tests/incl.c +++ /tmp/cocci-output-8348-3df2fb-incl.c @@ -1,6 +1,8 @@ +#include "before.h" #include #include #include +#include "after.h" #ifdef FOO #include #endif FOO inclifdef.res diff = --- tests/inclifdef.c +++ /tmp/cocci-output-8348-ab34af-inclifdef.c @@ -1,4 +1,5 @@ #include +#include #ifdef CONFIG #include #endif include.res diff = --- tests/include.c +++ /tmp/cocci-output-8348-3aeb9f-include.c @@ -1,8 +1,6 @@ #include #include -#include -#include void main(int i) { incompatible_value.res incpos.res diff = --- tests/incpos.c +++ /tmp/cocci-output-8348-40dcdf-incpos.c @@ -1,3 +1,4 @@ +#include #include #include "two" #include incpos1.res diff = --- tests/incpos1.c +++ /tmp/cocci-output-8348-1df778-incpos1.c @@ -1,3 +1,4 @@ +#include #include "two" #include #include "four" inherited.res diff = --- tests/inherited.c +++ /tmp/cocci-output-8348-8852c4-inherited.c @@ -6,5 +6,5 @@ void main(int i) { h(2); h2(2); - foo(1); + bar(1); } inherited_ver1.res diff = --- tests/inherited_ver1.c +++ /tmp/cocci-output-8348-bc5f99-inherited_ver1.c @@ -3,8 +3,8 @@ void main(int i) { //g(1); f(2); - h(2); - h2(2); + hh(2); + hh22(2); - foo(1); + bar(1); } inhmet.res diff = --- tests/inhmet.c +++ /tmp/cocci-output-8348-729090-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; + foo(); } inhpos.res diff = --- tests/inhpos.c +++ /tmp/cocci-output-8348-51a798-inhpos.c @@ -1,3 +1,2 @@ int main () { - g(3); } initializer.res warning: line 5: should var be a metavariable? diff = --- tests/initializer.c +++ /tmp/cocci-output-8348-57cc0f-initializer.c @@ -1,5 +1,6 @@ struct SHT var = { .f1 = toto1, - .f2 = toto2, + .foo = 12, + .foo2 = 12, .f3 = toto3, }; initializer_many_fields.res warning: line 4: should x be a metavariable? inline.res warning: line 4: should x be a metavariable? diff = --- tests/inline.c +++ /tmp/cocci-output-8348-e7efc4-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c +++ /tmp/cocci-output-8348-76ba6d-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include int2bool-local.res diff = --- tests/int2bool-local.c +++ /tmp/cocci-output-8348-d7fe4c-int2bool-local.c @@ -1,8 +1,9 @@ int nxnypz1(){ - int x, y, z; + bool z; + int x, y; x = 1; y = 0; - z = 0; + z = false; if (x) return x; @@ -31,8 +32,9 @@ int nxny3() { } int px4() { - int x; - x = 0; + bool x; + + x = false; return 4; } @@ -49,11 +51,13 @@ int nxny5() { } int pxpy6() { - int x; - int y; + bool x; + + bool y; + - x = 0; - y = 1; + x = false; + y = true; x = x && y; introbrace.res diff = --- tests/introbrace.c +++ /tmp/cocci-output-8348-cb1a0f-introbrace.c @@ -1,8 +1,12 @@ int main() { - if (x) + if (x) { rc = request_threaded_irq(a, b); - else + rc = compat_request_threaded_irq(12); + } + else { rc = request_threaded_irq(a, b); + rc = compat_request_threaded_irq(12); + } } invert.res diff = --- tests/invert.c +++ /tmp/cocci-output-8348-f9171c-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; + x = z + y; } ip.res diff = --- tests/ip.c +++ /tmp/cocci-output-8348-06400a-ip.c @@ -2,10 +2,18 @@ void GetInfoDestTV(short sNoFo) { if(sNoFo == 1) printf("one"); - else if(sNoFo == 2) - printf("two"); - else if(sNoFo == 2) - printf("three"); - else - printf("other"); + else { + trace("ifelel"); + if(sNoFo == 2) + printf("two"); + else { + trace("ifelel"); + if(sNoFo == 2) + printf("three"); + else { + trace("ifelel"); + printf("other"); + } + } + } } ip2.res diff = --- tests/ip2.c +++ /tmp/cocci-output-8348-7ec049-ip2.c @@ -1,11 +1,17 @@ void GetInfoDestTV(short sNoFo) { - if(sNoFo == 1) + if(sNoFo == 1) { + trace("ifelel"); printf("one"); - else if(sNoFo == 2) + } + else if(sNoFo == 2) { + trace("ifelel"); printf("two"); - else if(sNoFo == 2) + } + else if(sNoFo == 2) { + trace("ifelel"); printf("three"); + } else printf("other"); } isococci.res diff = --- tests/isococci.c +++ /tmp/cocci-output-8348-b3881f-isococci.c @@ -1,6 +1,4 @@ void f(int i) { - if(x > 0) return x; - } isoif.res warning: r: metavariable p1 not used in the - or context code warning: r: metavariable E not used in the - or context code diff = --- tests/isoif.c +++ /tmp/cocci-output-8348-dc45ab-isoif.c @@ -1,4 +1,2 @@ int main () { - if (x == NULL) one(); else two(); - if (x != NULL) three(); else four(); } isotest.res diff = --- tests/isotest.c +++ /tmp/cocci-output-8348-c5fe3c-isotest.c @@ -1,7 +1,6 @@ void main(int i) { - char j; - int i; // = 1; + char j;// = 1; j++; isotest2.res diff = --- tests/isotest2.c +++ /tmp/cocci-output-8348-8b3161-isotest2.c @@ -1,7 +1,6 @@ void main(int i) { char j; - int i = 1; j++; iterator.res diff = --- tests/iterator.c +++ /tmp/cocci-output-8348-e84017-iterator.c @@ -2,9 +2,5 @@ void pcibios_report_status(u_int status_ { struct list_head *l; - list_for_each(l, &pci_root_buses) { - struct pci_bus *bus = pci_bus_b(l); - - pcibios_bus_report_status(bus, status_mask, warn); - } + foo(); } iterprint.res diff = --- tests/iterprint.c +++ /tmp/cocci-output-8348-31a32e-iterprint.c @@ -1,6 +1,4 @@ int main () { - for(bit = 0; bit < size; bit++) { - if (test_bit(bit, bitmap)) - x = 12; - } + for_each_set_bit(bit, bitmap, size) + x = 12; } jloop1.res exn while in timeout_function julia10.res diff = 129 133 --- tests/julia10.c +++ /tmp/cocci-output-8348-172a29-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); - h(); g(); - h(); } julia7.res diff = --- tests/julia7.c +++ /tmp/cocci-output-8348-a4005f-julia7.c @@ -1,7 +1,6 @@ int main(int x) { foo(); - if (x) {bar(); after(); return 0;} - bar(); + if (x) {after(); return 0;} after(); } justremove.res diff = --- tests/justremove.c +++ /tmp/cocci-output-8348-1a29ec-justremove.c @@ -1,17 +1,6 @@ int main () { - if (x) { - a(); - b(); - c(); - } foo(); - while (x) { - a(); - if (b()) continues; - c(); - } foo(); - r(); foo(); } keep_comma.res diff = --- tests/keep_comma.c +++ /tmp/cocci-output-8348-c8a99e-keep_comma.c @@ -1,4 +1,4 @@ int main () { - foo(); + xxx(); snd_assert(!atomic_read(&substream->runtime->mmap_count), ); } km.res diff = --- tests/km.c +++ /tmp/cocci-output-8348-e60081-km.c @@ -1,5 +1,4 @@ int main() { - int *data = kmalloc(element->string.length + 1, GFP_KERNEL); + int *data = kzalloc(element->string.length + 1, GFP_KERNEL); foo(); - memset(data, 0, element->string.length + 1); } kmalloc.res diff = --- tests/kmalloc.c +++ /tmp/cocci-output-8348-6fc304-kmalloc.c @@ -1,9 +1,7 @@ int main() { struct bar *y; - struct foo *x = kmalloc(sizeof(struct foo),GPF_KERNEL); + struct foo *x = kzalloc(sizeof(struct foo), GPF_KERNEL); if (!x) return -ENOMEM; - y = kmalloc(sizeof(struct bar),GPF_KERNEL); + y = kzalloc(sizeof(struct bar), GPF_KERNEL); if (!y) return -ENOMEM; - memset(x,0,sizeof(struct foo)); - memset(y,0,sizeof(struct bar)); } kmc.res warning: r: metavariable x1 not used in the - or context code warning: r: metavariable S not used in the - or context code diff = --- tests/kmc.c +++ /tmp/cocci-output-8348-882513-kmc.c @@ -10,5 +10,4 @@ dmabounce_register_dev(struct device *de err_destroy: kfreea(device_info); - return 1; } kr.res diff = --- tests/kr.c +++ /tmp/cocci-output-8348-ea1080-kr.c @@ -3,5 +3,4 @@ int a(x) { y = (j) r; - foo(); } ktype.res warning: rule starting on line 1: metavariable T2 not used in the - or context code warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/ktype.c +++ /tmp/cocci-output-8348-a11e2d-ktype.c @@ -3,8 +3,6 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { conf_t *conf; - conf = kmalloc(sizeof(conf_t), GFP_KERNEL); + conf = kzalloc(sizeof(conf_t), GFP_KERNEL); if (!conf) return; - - memset(conf, 0, sizeof(*conf)); } ktype2.res warning: r: metavariable T2 not used in the - or context code warning: r: metavariable T not used in the - or context code diff = --- tests/ktype2.c +++ /tmp/cocci-output-8348-c4437d-ktype2.c @@ -3,11 +3,8 @@ typedef struct r1_private_data_s conf_t; static int run(mddev_t *mddev) { conf_t *conf; - conf = kmalloc(sizeof(conf_t), GFP_KERNEL); + conf = kzalloc(sizeof(conf_t), GFP_KERNEL); if (!conf) { - memset(conf, 0, sizeof(*conf)); return; } - - memset(conf, 0, sizeof(*conf)); } labels_metastatement.res diff = --- tests/labels_metastatement.c +++ /tmp/cocci-output-8348-c29735-labels_metastatement.c @@ -1,9 +1,15 @@ int foo(int i) { if(1) { - x = 3; - z = 4; - } // we don't want that it add both foo on the } and on the endif + { + x = 3; + foo(); + z = 4; + foo(); + } + foo(); + } + foo(); // we don't want that it add both foo on the } and on the endif // (note: but need correct endif accrochage) } labels_metastatement_ver1.res diff = --- tests/labels_metastatement_ver1.c +++ /tmp/cocci-output-8348-04c3ca-labels_metastatement_ver1.c @@ -1,5 +1,9 @@ int foo(int i) { - if(1) x = 3; + if(1) { + x = 3; + foo(); + } + foo(); } lid.res diff = --- tests/lid.c +++ /tmp/cocci-output-8348-1b0999-lid.c @@ -1,6 +1,6 @@ int main () { int a; static int b; - f(a); + f(12); f(b); } line_before_last.res diff = --- tests/line_before_last.c +++ /tmp/cocci-output-8348-7f3c2f-line_before_last.c @@ -1,17 +1,13 @@ int main () { - foo(); xxx(); } int main () { xxx(); - foo(); } int main () { xxx(); - - foo(); } list_test.res warning: line 5: should a be a metavariable? warning: line 12: should a be a metavariable? warning: line 13: should b be a metavariable? warning: line 21: should a be a metavariable? warning: line 23: should b be a metavariable? warning: line 31: should a be a metavariable? warning: line 38: should a be a metavariable? warning: line 39: should b be a metavariable? warning: line 47: should a be a metavariable? warning: line 49: should b be a metavariable? warning: line 56: should f be a metavariable? warning: line 57: should a be a metavariable? warning: line 63: should g be a metavariable? warning: line 64: should a be a metavariable? warning: line 65: should b be a metavariable? warning: line 71: should h be a metavariable? warning: line 73: should a be a metavariable? warning: line 75: should b be a metavariable? warning: line 82: should i be a metavariable? warning: line 84: should a be a metavariable? warning: line 86: should b be a metavariable? diff = --- tests/list_test.c +++ /tmp/cocci-output-8348-711796-list_test.c @@ -1,55 +1,53 @@ int main () { - f(a); - g(a,b); - h(x,a,y,b,z); - h(a,y,b,z); - h(x,a,b,z); - h(x,a,y,b); - h(a,b,z); - h(x,a,b); - h(a,b); + f(); + g(b); + h(x,y,b,z); + h(y,b,z); + h(x,b,z); + h(x,y,b); + h(b,z); + h(x,b); + h(b); } -int f(int a) { return; } +int f() { return; } -int g(int a,int b) { return; } +int g(int b) { return; } -int h(int x, int a, int y, int b, int z) { return; } +int h(int x, int y, int b, int z) { return; } -int h(int a, int y, int b, int z) { return; } +int h(int y, int b, int z) { return; } -int h(int x, int a, int b, int z) { return; } +int h(int x, int b, int z) { return; } -int h(int x, int a, int y, int b) { return; } +int h(int x, int y, int b) { return; } -int h(int a, int b, int z) { return; } +int h(int b, int z) { return; } -int h(int x, int a, int b) { return; } +int h(int x, int b) { return; } -int h(int a, int b) { return; } +int h(int b) { return; } int f[] = { - a }; int g[] = { - a, b }; -int h[] = { x, a, y, b, z }; +int h[] = { x, y, b, z }; -int h[] = { a, y, b, z, }; +int h[] = { y, b, z, }; -int h[] = { x, a, b, z }; +int h[] = { x, b, z }; -int h[] = { x, a, y, b, }; +int h[] = { x, y, b, }; -int h[] = { a, b, z }; +int h[] = { b, z }; -int h[] = { x, a, b, }; +int h[] = { x, b, }; -int h[] = { a, b }; +int h[] = { b }; int i[] = { x, a, y, b, z }; @@ -57,33 +55,30 @@ int i[] = { a, y, b, z, }; int i[] = { x, a, b, z }; -int i[] = { x, a, y, b, }; +int i[] = { x, a, y, }; int i[] = { a, b, z }; -int i[] = { x, a, b, }; +int i[] = { x, a, }; -int i[] = { a, b }; +int i[] = { a, }; struct f { - int a; + int b; }; struct g { - int a; int b; }; struct h { int x; - int a; int y; int b; int z; }; struct h { - int a; int y; int b; int z; @@ -91,63 +86,46 @@ struct h { struct h { int x; - int a; int b; int z; }; struct h { int x; - int a; int y; int b; }; struct h { - int a; int b; int z; }; struct h { int x; - int a; int b; }; struct h { - int a; int b; }; -enum f { a }; +enum f { b }; -enum g { a, b }; +enum g { b }; -enum h { x, a, y, b, z, }; -enum h { a, y, b, z }; -enum h { x, a, b, z, }; -enum h { x, a, y, b }; -enum h { a, b, z, }; -enum h { x, a, b }; -enum h { a, b, }; +enum h { x, y, b, z, }; +enum h { y, b, z }; +enum h { x, b, z, }; +enum h { x, y, b }; +enum h { b, z, }; +enum h { x, b }; +enum h { b, }; enum i { x, a, y, b, z, }; enum i { a, y, b, z }; enum i { x, a, b, z, }; -enum i { x, a, y, b, }; +enum i { x, a, y, }; enum i { a, b, z, }; -enum i { x, a, b, }; -enum i { a, b, }; - -#define f(a) 3 - -#define g(a,b) 3 - -#define h(x,a,y,b,z) 3 -#define h(a,y,b,z) 3 -#define h(x,a,b,z) 3 -#define h(x,a,y,b) 3 -#define h(a,b,z) 3 -#define h(x,a,b) 3 -#define h(a,b) 3 +enum i { x, a, }; +enum i { a, }; local.res diff = --- tests/local.c +++ /tmp/cocci-output-8348-6b963e-local.c @@ -1 +1 @@ -int f(int xx, int yy) { return 0; } +int f(int a, int b, int yy) { return 0; } localglobal.res diff = --- tests/localglobal.c +++ /tmp/cocci-output-8348-4e07e8-localglobal.c @@ -3,5 +3,5 @@ int a; int main(int b) { int c; int local; - return a + b + c; + return global + local + local; } localid.res diff = --- tests/localid.c +++ /tmp/cocci-output-8348-c31cf5-localid.c @@ -2,8 +2,7 @@ int c; int main () { int a; - f(a); f(a+1); - f(b); - f(c); + h(b); + g(c); } log.res diff = --- tests/log.c +++ /tmp/cocci-output-8348-ed6e31-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { int main () { - f("foo"); } longconst.res diff = --- tests/longconst.c +++ /tmp/cocci-output-8348-cca735-longconst.c @@ -2,18 +2,18 @@ long function1() { long a; int b; - a = 1l << b; - a = 1u << b; - a = 65536l << b; - a = 65536u << b; - a = 65536 << b; - a = 4294967296 << b; - a = 65535 << b; - a = 4294967295 << b; - a = 0x7fffffff << b; - a = 0x1fl << b; - a = 0x1fu << b; - a = 0x1FL << b; - a = 0x1FU << b; + a = f(1l, "long"); + a = f(1u, "unsigned"); + a = f(65536l, "long"); + a = f(65536u, "unsigned"); + a = f(65536, "int"); + a = f(4294967296, "int"); + a = f(65535, "int"); + a = f(4294967295, "int"); + a = f(0x7fffffff, "int"); + a = f(0x1fl, "long"); + a = f(0x1fu, "unsigned"); + a = f(0x1FL, "long"); + a = f(0x1FU, "unsigned"); return a; } longline2.res warning: line 5: should a be a metavariable? diff = --- tests/longline2.c +++ /tmp/cocci-output-8348-9e54f1-longline2.c @@ -1,8 +1,16 @@ int main() { - f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a,shdkjsdsdhkjsa,x,y,z); - f(sdhfkjdkdsahksadsdhjkdsa, sahdjshdkjsahdkjhsakjdsh, a, shdkjsdsdhkjsa, x, y, z); + f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,a, + 1111111111111111111111111111111111111, 111111111111111111111111, 111, + shdkjsdsdhkjsa,x,y,z); + f(sdhfkjdkdsahksadsdhjkdsa, sahdjshdkjsahdkjhsakjdsh, a, + 1111111111111111111111111111111111111, 111111111111111111111111, 111, + shdkjsdsdhkjsa, x, y, z); f(sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa); - f(a,sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa); - f(a,sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa, + f(a,1111111111111111111111111111111111111, 111111111111111111111111, 111, + sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa, + shdkjsdsdhkjsa); + f(a,1111111111111111111111111111111111111, 111111111111111111111111, 111, + sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa, + shdkjsdsdhkjsa, sdhfkjdkdsahksadsdhjkdsa,sahdjshdkjsahdkjhsakjdsh,aaaaaaaaaaaaaaaaaaaa,shdkjsdsdhkjsa); } longlong.res diff = --- tests/longlong.c +++ /tmp/cocci-output-8348-d85199-longlong.c @@ -1,6 +1,6 @@ -long long a; +int a; int main () { - long long b; + int b; return 0; } longlongint.res diff = --- tests/longlongint.c +++ /tmp/cocci-output-8348-764a08-longlongint.c @@ -1,9 +1,3 @@ int main() { - unsigned int x; - int y; - unsigned long long int a; - long long int b; - unsigned long long m; - long long n; return 0; } loop.res diff = --- tests/loop.c +++ /tmp/cocci-output-8348-0707ad-loop.c @@ -1,5 +1,3 @@ int main() { - f(); while (1) { x : 15; } - g(); } lvalue.res warning: line 4: should x be a metavariable? diff = --- tests/lvalue.c +++ /tmp/cocci-output-8348-b1a599-lvalue.c @@ -1,4 +1,4 @@ int main() { - x = x + 1; - *x = 12; + f(x) = f(x) + 1; + *f(x) = 12; } macro.res diff = --- tests/macro.c +++ /tmp/cocci-output-8348-cac78c-macro.c @@ -1,5 +1,5 @@ -#define SC_FCMND(fcmnd) ((Scsi_Cmnd *)((long)fcmnd - (long)&(((Scsi_Cmnd *)0)->SCp))) +#define SC_FCMND(fcmnd) ((struct scsi_cmnd *)((long)fcmnd - (long)&(((struct scsi_cmnd *)0)->SCp))) int main() { - return ((Scsi_Cmnd *)((long)fcmnd - (long)&(((Scsi_Cmnd *)0)->SCp))); + return ((struct scsi_cmnd *)((long)fcmnd - (long)&(((struct scsi_cmnd *)0)->SCp))); } macro_int16.res diff = --- tests/macro_int16.c +++ /tmp/cocci-output-8348-0a7db7-macro_int16.c @@ -4,6 +4,6 @@ void main(void) { INT16 a, b, c; - c = a + b; + c = a - b; } match_init.res diff = --- tests/match_init.c +++ /tmp/cocci-output-8348-5a442e-match_init.c @@ -1,15 +1,15 @@ int probably_works () { - int x = 3; + int a = 12; f(x); } int does_it_work () { - int y, x = 3; + int y, a = 12; f(x); } int should_work () { - x = 3; + a = 12; f(x); } match_no_meta.res diff = --- tests/match_no_meta.c +++ /tmp/cocci-output-8348-1fe979-match_no_meta.c @@ -2,6 +2,4 @@ void main(int i) { foo(1); bar(2); - - bar(3); } max.res warning: line 6: should i be a metavariable? warning: line 14: should i be a metavariable? diff = --- tests/max.c +++ /tmp/cocci-output-8348-e093f1-max.c @@ -1,3 +1,3 @@ int main () { - if (x < 25) return i; + if (x < 25) return 3; } mdec.res diff = --- tests/mdec.c +++ /tmp/cocci-output-8348-684190-mdec.c @@ -1,23 +1,26 @@ int main () { - int a, b, c, d; - int a, b, c, *d; - int a, b, *c, d; - int a, *b, c, d; - int *a, b, c, d; - int a, b, *c, *d; - int a, *b, *c, d; - int *a, *b, c, d; - int *a, b, c, *d; - int a, *b, c, *d; - int *a, b, *c, d; - int a, *b, c, *d; - int *a, b, *c, d; - int a, *b, *c, *d; - int *a, *b, *c, d; - int *a, *b, c, *d; - int *a, b, *c, *d; - int *a, b, c, *d; - int *a, b, *c, *d; - int a, *b, *c, *d; - int *a, *b, c, *d; + char d; + char c; + char b; + char a; + int *d; + int *c; + int *b; + int *a; + int *c, *d; + int *b, *c; + int *a, *b; + int *a, *d; + int *b, *d; + int *a, *c; + int *b, *d; + int *a, *c; + int *b, *c, *d; + int *a, *b, *c; + int *a, *b, *d; + int *a, *c, *d; + int *a, *d; + int *a, *c, *d; + int *b, *c, *d; + int *a, *b, *d; } mdecl.res warning: rule starting on line 14: inherited metavariable unbound not used in the -, +, or context code Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_54b183.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_54b183.ml File "/tmp/ocaml_cocci_54b183.ml", line 30, characters 4-11: Warning 26: unused variable unbound. File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: Warning 58: no cmx file was found in path for module Iteration, and its interface was not compiled with -opaque Compilation OK! Loading ML code of the SP... diff = --- tests/mdecl.c +++ /tmp/cocci-output-8348-24e10b-mdecl.c @@ -1,5 +1,4 @@ -int one () { if (c < 0) return 12; return x < 0; } + int one () { return x < 0; } int one () { return rvw; } int two () { if (c < 0) return 21; return y; } -int one () { int c; if (c) return 12; return x < 0; } mdeclp.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_99520c.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_99520c.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: Warning 58: no cmx file was found in path for module Iteration, and its interface was not compiled with -opaque Compilation OK! Loading ML code of the SP... mdeclp2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_0f1179.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_0f1179.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: Warning 58: no cmx file was found in path for module Iteration, and its interface was not compiled with -opaque Compilation OK! Loading ML code of the SP... memory.res diff = --- tests/memory.c +++ /tmp/cocci-output-8348-6f0842-memory.c @@ -2,6 +2,5 @@ int __queue_add(Queue_t *queue, Scsi_Cmnd *SCpnt, int head) { - if (BAD_MAGIC(1,12)) - BUG(); + BUG_ON(BAD_MAGIC(1, 12)); } metahex.res metaline.res warning: line 42: x, previously declared as a metavariable, is used as an identifier warning: line 48: should y be a metavariable? diff = --- tests/metaline.c +++ /tmp/cocci-output-8348-18cf73-metaline.c @@ -1,9 +1,8 @@ int main () { - static int x; static int y; - if (12) f(4+3); - g(4+3); - m(3+3); - g(3+3); + static int x; + while (12) f(4+3); + h(4 + 3); + q(3 + 3); r(3+4); } metaops.res the simple assignment expression on line 25 contains transformations that prevent it from matching a declaration (replacement is not simple) diff = --- tests/metaops.c +++ /tmp/cocci-output-8348-300f73-metaops.c @@ -2,24 +2,24 @@ int p1() { int x = 0; int y = 1; - x = x + y; - x = x * y; - x = x / y; - x = x - y; - x = x && y; - x = x || y; - x = x == y; - x = x != y; - x = x > y; - x = x < y; - x = x >= y; - x = x <= y; - x = x % y; - x = x | y; - x = x & y; - x = x ^ y; - x = x << y; - x = x >> y; + x += x - y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; + x += x + y; return 42; } @@ -28,17 +28,17 @@ int p2() { int x = 0; int y = 1; - x = 1; - x += 2; - x -= 3; - x *= 4; - x /= 5; - x %= 6; - x |= 7; - x &= 8; - x ^= 9; - x <<= 10; - x >>= 11; + x += 1; + x = 2; + x = 3; + x = 4; + x = 5; + x = 6; + x = 7; + x = 8; + x = 9; + x = 10; + x = 11; return 42; } metaops0.res diff = --- tests/metaops0.c +++ /tmp/cocci-output-8348-7e2e4e-metaops0.c @@ -1,44 +1,11 @@ int p1() { - int x = 0; - int y = 1; - x = x + y; - x = x * y; - x = x / y; - x = x - y; - x = x && y; - x = x || y; - x = x == y; - x = x != y; - x = x > y; - x = x < y; - x = x >= y; - x = x <= y; - x = x % y; - x = x | y; - x = x & y; - x = x ^ y; - x = x << y; - x = x >> y; return 42; } int p2() { - int x = 0; - int y = 1; - x = 1; - x += 2; - x -= 3; - x *= 4; - x /= 5; - x %= 6; - x |= 7; - x &= 8; - x ^= 9; - x <<= 10; - x >>= 11; return 42; } metaruleelem.res diff = --- tests/metaruleelem.c +++ /tmp/cocci-output-8348-a98ca7-metaruleelem.c @@ -1,6 +1,7 @@ int main(int x) { f(); - if(1) { + foo(); + if (1) { replace(); } g(); metastatement2.res diff = --- tests/metastatement2.c +++ /tmp/cocci-output-8348-e179ee-metastatement2.c @@ -1,6 +1,5 @@ void main(int i) { f(); - { replace(); replace(); } g(); } metastatement_for.res diff = --- tests/metastatement_for.c +++ /tmp/cocci-output-8348-35b9ef-metastatement_for.c @@ -1,9 +1,6 @@ void main(void) { int i; - for (i = 0; i < 10; i++) { - printf("%d", i); - } if (i == 0) { printf("%d", i); metastatement_if.res diff = --- tests/metastatement_if.c +++ /tmp/cocci-output-8348-231f45-metastatement_if.c @@ -5,8 +5,4 @@ void main(void) printf("%d", i); } - if (i == 0) { - printf("%d", i); - } - } mincom.res diff = --- tests/mincom.c +++ /tmp/cocci-output-8348-ee8613-mincom.c @@ -1,5 +1,7 @@ int main () { - if (rc == LS_NONE_FIRST_DE) + if (rc == LS_NONE_FIRST_DE) { /* It is not "ls -{a}l" operation, no need statahead for it. */ - GOTO(out, rc = -EAGAIN); + a(); + b(); + } } minenum.res diff = --- tests/minenum.c +++ /tmp/cocci-output-8348-ba890b-minenum.c @@ -1 +1 @@ -enum h { x, a, z, q, b }; +enum h { x, qq, q, b }; minenum1.res diff = --- tests/minenum1.c +++ /tmp/cocci-output-8348-4af7a0-minenum1.c @@ -1,2 +1,2 @@ -enum h { x, a, z, +enum h { x, qq, q, b }; minfn.res diff = --- tests/minfn.c +++ /tmp/cocci-output-8348-8a2e40-minfn.c @@ -1,13 +1,5 @@ int main () { return first; } -int f () { return second; } -int f () { return second; } - int main () { return third; } -#define x 3 -#define x 3 -#define x 3 -#define x 3 - int main () { return fifth; } mini_null_ref.res diff = --- tests/mini_null_ref.c +++ /tmp/cocci-output-8348-23b6b5-mini_null_ref.c @@ -2,11 +2,12 @@ static int __devinit w90p910_keypad_prob { const struct w90p910_keypad_platform_data *pdata = pdev->dev.platform_data; - const struct matrix_keymap_data *keymap_data = pdata->keymap_data; + const struct matrix_keymap_data *keymap_data; if (!pdata) { dev_err(&pdev->dev, "no platform data defined\n"); return -EINVAL; } + keymap_data = pdata->keymap_data; return; } miniswap.res diff = --- tests/miniswap.c +++ /tmp/cocci-output-8348-6b791b-miniswap.c @@ -1,5 +1,5 @@ static void swap_refcount_rec(void *a, void *b, int size) { - struct ocfs2_refcount_rec *l, tmp; + struct ocfs2_refcount_rec *l; swap(l,tmp); } minstruct.res diff = --- tests/minstruct.c +++ /tmp/cocci-output-8348-55b77d-minstruct.c @@ -1,5 +1,7 @@ static struct i2c_client client_template = { - .name = "(unset)", + .dev = { + .name = "(unset)", + }, .id = -1, .driver = &i2c_driver_videotext }; minusdots.res diff = --- tests/minusdots.c +++ /tmp/cocci-output-8348-5b563e-minusdots.c @@ -1,9 +1,3 @@ void main(int i) { - - if (!hostptr) { - if (hostptr) { - return -ESRCH; - } - } } minusdots_ver1.res diff = --- tests/minusdots_ver1.c +++ /tmp/cocci-output-8348-d2dfe0-minusdots_ver1.c @@ -1,6 +1,2 @@ void main(int i) { - - if (!hostptr) { - i++; - } } multi_func1.res exn while in timeout_function multichars.res warning: line 4: should ab be a metavariable? diff = 102 105 --- tests/multichars.c +++ /tmp/cocci-output-8348-efe4af-multichars.c @@ -1,5 +1,5 @@ int main () { - f('XYZ',ab); - f('X\nY',ab); - f('\n',ab); + f('XYZ',12); + f('X\nY',12); + f('\n',12); } multidec.res diff = --- tests/multidec.c +++ /tmp/cocci-output-8348-565d15-multidec.c @@ -1,11 +1,6 @@ int main () { int x = 3,z; - int x = 12; - int x = 12,y; + int y; int -x -= -12 -, y; } multidecl3.res diff = --- tests/multidecl3.c +++ /tmp/cocci-output-8348-31152f-multidecl3.c @@ -1,17 +1,13 @@ int main () { - int *i, i[12], i, k, r; + int k, r; } struct foo { - int *i, i[12], i, k, r; - int *i, i[12], i; - int *i; + int k, r; }; int main () { - int *i, i[12], i; } struct foo { - int *i, i[12], i; }; multipath.res diff = --- tests/multipath.c +++ /tmp/cocci-output-8348-a443fd-multipath.c @@ -2,8 +2,8 @@ static void multipathd(struct md_thread { for (;;) { if ((mp_bh->path = multipath_map (conf))<0) { - printk(KERN_ERR "multipath: %s: redirecting sector %llu" - " to another IO path\n", + printk("KERN_ERR %s: %s: redirecting sector %llu to another IO path\n", + __func__, bdevname(bio->bi_bdev,b), (unsigned long long)bio->bi_iter.bi_sector); } multiplus.res warning: rule starting on line 3: metavariable T not used in the - or context code diff = --- tests/multiplus.c +++ /tmp/cocci-output-8348-1f4520-multiplus.c @@ -1,4 +1,4 @@ -static void xm_link_timer(void *arg) +static void xm_link_timer(struct work_struct *work) { struct net_device *dev = arg; struct skge_port *skge = netdev_priv(arg); multiremove.res diff = --- tests/multiremove.c +++ /tmp/cocci-output-8348-d87954-multiremove.c @@ -1,8 +1,5 @@ int main () { if (x) { xyz1(); } - if (x) { foo(); abc(); } if (x) { xyz2(); } - if (x) { bar(); abc(); } if (x) { xyz3(); } - if (x) { foo(); abc(); bar(); bar(); foo(); } } multistruct.res diff = --- tests/multistruct.c +++ /tmp/cocci-output-8348-6c18e9-multistruct.c @@ -1,5 +1,3 @@ -struct one x; -struct two y; struct three z; multitype.res diff = --- tests/multitype.c +++ /tmp/cocci-output-8348-07417f-multitype.c @@ -3,5 +3,5 @@ typedef struct foo { int a; } foo_t; int main() { foo_t * x; f(x->a); - g(x); + g(x, NULL); } multitypedef.res warning: non_delayed_fn: metavariable T not used in the - or context code diff = --- tests/multitypedef.c +++ /tmp/cocci-output-8348-ed5dcb-multitypedef.c @@ -5,5 +5,5 @@ typedef struct HYSDN_CARD { int ergo_inithardware(hysdn_card * card) { - INIT_WORK(&card->irq_queue, ergo_irq_bh, card); + INIT_WORK(&card->irq_queue, ergo_irq_bh); } multivars.res diff = --- tests/multivars.c +++ /tmp/cocci-output-8348-73ee32-multivars.c @@ -1,5 +1,5 @@ void main(int i) { - f(1+2+v.field1,1+2+v.field1); + h(1 + 2 + v.field1); } na.res diff = --- tests/na.c +++ /tmp/cocci-output-8348-a2998e-na.c @@ -4,10 +4,10 @@ void foo() { int i; - if (!i & FOO) return; - !i & -FOO; + if (12) return; + 12; !i & !FOO; - !i & 100; - !i & -100; + 12; + 12; !i & !100; } nameless.res diff = --- tests/nameless.c +++ /tmp/cocci-output-8348-ad75b0-nameless.c @@ -1,6 +1,6 @@ typedef union { int foo; } t_foo; -typedef struct { +typedef struct __COCCI__TMP__STRUCTNAME__ { int foo; } t_foo; nest.res warning: line 6: should hostno be a metavariable? warning: line 18: should xxx be a metavariable? diff = --- tests/nest.c +++ /tmp/cocci-output-8348-42214f-nest.c @@ -1,7 +1,7 @@ void info_func(int i) { foo(); while (x) { - 1+hostno+xxx; - 2+hostno+xxx; + 1+hostptr->host_no+hostptr->host_no; + 2+hostptr->host_no+hostptr->host_no; } } nestone.res warning: one: metavariable S not used in the - or context code diff = --- tests/nestone.c +++ /tmp/cocci-output-8348-926203-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} - yyy(); } nestseq.res diff = --- tests/nestseq.c +++ /tmp/cocci-output-8348-a56d24-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); h(); + xxx(12); } neststruct.res diff = --- tests/neststruct.c +++ /tmp/cocci-output-8348-0d4b9c-neststruct.c @@ -8,6 +8,6 @@ struct usb_hub { static int hub_configure(struct usb_hub *hub) { - hub->status = kmalloc(sizeof(*hub->status), GFP_KERNEL); + hub->status = kzalloc(sizeof(*hub->status), GFP_KERNEL); } nl.res warning: line 4: should x be a metavariable? diff = --- tests/nl.c +++ /tmp/cocci-output-8348-aa35de-nl.c @@ -1,4 +1,4 @@ int main() { - if (x) return; - x = x + 1; + if (y) return; + y = y + 1; } noa.res diff = --- tests/noa.c +++ /tmp/cocci-output-8348-975e3e-noa.c @@ -2,6 +2,6 @@ int main () { if (x) { a(); } else { a(); } } -int tochange () { +int has_no_a () { if (x) { a(); } else { x(); } } nocast.res diff = --- tests/nocast.c +++ /tmp/cocci-output-8348-b54540-nocast.c @@ -1,4 +1,4 @@ -int main (unsigned int __nocast gfp_mask, int x) { +int main (gfp_t gfp_mask, int x) { buf = kmalloc(sizeof *send_buf + buf_size, gfp_mask); } noret.res diff = --- tests/noret.c +++ /tmp/cocci-output-8348-48b400-noret.c @@ -1,18 +1,18 @@ -main (int x); -static xmain (int x); -inline ymain (int x); +main (int x, int q); +static xmain (int x, int q); +inline ymain (int x, int q); -main (int x) { - return x; +main (int x, int q) { + return 12; } // foo -static xmain (int y) { - return y; +static xmain (int y, int q) { + return 12; } // xxx -inline ymain (int y) { - return y; +inline ymain (int y, int q) { + return 12; } // xxx not.res diff = --- tests/not.c +++ /tmp/cocci-output-8348-46ce21-not.c @@ -1,9 +1,9 @@ int main() { int x; - this(12,x); + f(20); this(foo,x); bar(12,x); foo(12,x); - this(12,x); - this(12,x); + f(20); + f(20); } notest.res diff = --- tests/notest.c +++ /tmp/cocci-output-8348-927e44-notest.c @@ -1,6 +1,6 @@ int main() { struct foo *x; x = FN(); - if (!x) return; + if (12) return; return; } noty.res diff = --- tests/noty.c +++ /tmp/cocci-output-8348-03d2c9-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } + g(); } noty2.res diff = --- tests/noty2.c +++ /tmp/cocci-output-8348-4e398f-noty2.c @@ -1,14 +1,11 @@ main () { - foo(); return; } int main2 () { - foo(); return; } blah_t main3 () { - foo(); return; } null_bool.res warning: line 4: should x be a metavariable? diff = --- tests/null_bool.c +++ /tmp/cocci-output-8348-718b99-null_bool.c @@ -1,8 +1,8 @@ int main () { - if (x != NULL) return; - if (a && x != NULL && b) return; - if (x) return; - if (a && x && b) return; + if (12) return; + if (a && 12 && b) return; + if (12) return; + if (a && 12 && b) return; x = x + 20; } null_type.res diff = --- tests/null_type.c +++ /tmp/cocci-output-8348-ea4832-null_type.c @@ -2,7 +2,7 @@ int main(int i) { int *x; - g(x); - g(NULL); + g(f(x)); + g(f(NULL)); } oddifdef.res warning: line 4: should x be a metavariable? warning: line 6: should x be a metavariable? diff = --- tests/oddifdef.c +++ /tmp/cocci-output-8348-f86ee0-oddifdef.c @@ -7,9 +7,7 @@ void one () { a = 5; #ifdef FOO - x = 0; #else - x = 0; #endif } @@ -22,9 +20,7 @@ void two() { a = 3; #ifdef FOO - x = 0; #else - x = 0; #endif } @@ -37,8 +33,6 @@ void three() { #endif #ifdef FOO - x = 0; #else - x = 0; #endif } of.res diff = --- tests/of.c +++ /tmp/cocci-output-8348-c109f7-of.c @@ -1,16 +1,20 @@ static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { for (node = NULL; (node = of_find_all_nodes(node)); ) { - if (x) + if (x) { return it; + of_node_put(node); + } } } static struct iommu_table *iommu_table_find(struct iommu_table * tbl) { for (node = NULL; (node = something(node)); ) { - if (x) + if (x) { + of_node_put(node); return it; + } } } oneline.res diff = --- tests/oneline.c +++ /tmp/cocci-output-8348-ac9f4e-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); - f(); + g(); + g(); } opt.res diff = --- tests/opt.c +++ /tmp/cocci-output-8348-5785bf-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); } optional_qualifier.res diff = --- tests/optional_qualifier.c +++ /tmp/cocci-output-8348-f126d3-optional_qualifier.c @@ -1,2 +1,2 @@ -int a; +const int a; const int b; optional_storage.res diff = --- tests/optional_storage.c +++ /tmp/cocci-output-8348-5feba3-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) { } orexp.res diff = --- tests/orexp.c +++ /tmp/cocci-output-8348-ed9fda-orexp.c @@ -1,3 +1,3 @@ int main() { - bar(12+12); + 4; } overshoot.res warning: aaa: metavariable f not used in the - or context code warning: xxx: metavariable f not used in the - or context code diff = --- tests/overshoot.c +++ /tmp/cocci-output-8348-2e8743-overshoot.c @@ -1,9 +1,6 @@ int main () { a(); - s(); - d(); - f(); - b(); + g();g();g(); b(); q(); } p9.res diff = --- tests/p9.c +++ /tmp/cocci-output-8348-3c66f5-p9.c @@ -1,3 +1,3 @@ -int f(int, int, int x) { +int f(int v2, int v3, int x) { return x; } pa.res diff = --- tests/pa.c +++ /tmp/cocci-output-8348-59a2ba-pa.c @@ -3,8 +3,8 @@ char *parse_args(const char *doing, const struct kernel_param *params, unsigned num, s16 min_level, - s16 max_level, - int (*unknown)(char *param, char *val, const char *doing)) + s16 max_level,void *arg, + int (*unknown)(char *param, char *val, const char *doing, void *arg)) { return 0; } param.res diff = --- tests/param.c +++ /tmp/cocci-output-8348-9e400f-param.c @@ -1 +1 @@ -void foo() { return; } + param_end.res warning: line 6: should x be a metavariable? warning: line 14: should y be a metavariable? diff = --- tests/param_end.c +++ /tmp/cocci-output-8348-e48b87-param_end.c @@ -1,15 +1,15 @@ -int one (int x) { return; } +int one () { return; } -int two (int a, int x, int b) { return; } +int two (int a, int b) { return; } -int three (int x, int a) { return; } +int three (int a) { return; } -int four (int a, int x) { return; } +int four (int a) { return; } -int yone (int y) { return; } +int yone () { return; } -int ytwo (int a, int y, int b) { return; } +int ytwo (int a, int b) { return; } -int ythree (int y, int a) { return; } +int ythree (int a) { return; } -int yfour (int a, int y) { return; } +int yfour (int a) { return; } param_to_exp.res diff = --- tests/param_to_exp.c +++ /tmp/cocci-output-8348-087803-param_to_exp.c @@ -1,3 +1,4 @@ int main (int x, int y) { + foo(x, y); return 0; } param_ver1.res diff = --- tests/param_ver1.c +++ /tmp/cocci-output-8348-159d77-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c +++ /tmp/cocci-output-8348-4bd340-parameters_dots.c @@ -1,7 +1,4 @@ void main(int i) { - f(1); g(3); - f(1,2); - f(); } partial.res warning: rule starting on line 1: metavariable S not used in the - or context code diff = --- tests/partial.c +++ /tmp/cocci-output-8348-031ba6-partial.c @@ -1,3 +1,3 @@ #define CS_THIS_MODULE THIS_MODULE, #define CS_OWNER owner: -void cs46xx_null(struct pci_dev *pcidev) { return PAGE_SIZE; } +void cs46xx_null(struct pci_dev *pcidev) { return PAGE_SIZE2; } pb_distribute_type.res warning: line 6: should x be a metavariable? diff = --- tests/pb_distribute_type.c +++ /tmp/cocci-output-8348-378215-pb_distribute_type.c @@ -1,15 +1,15 @@ int foo() { - int x; + int *x; return 0; } int foo() { - int *x; + int **x; return 0; } int foo() { - int x[45]; + int[45] *x; return 0; } pb_distribute_type2.res warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type2.c +++ /tmp/cocci-output-8348-7cc0c3-pb_distribute_type2.c @@ -1,15 +1,15 @@ int foo() { - int x; + int* x; return 0; } int foo() { - int *x; + int **x; return 0; } int foo() { - int x[45]; + int x[45]*; return 0; } pb_distribute_type3.res warning: line 9: should x be a metavariable? exn while in timeout_function pb_distribute_type4.res warning: line 8: should x be a metavariable? diff = --- tests/pb_distribute_type4.c +++ /tmp/cocci-output-8348-43eaf1-pb_distribute_type4.c @@ -1,15 +1,15 @@ int foo() { - int x; + float x; return 0; } int foo() { - int *x; + float x; return 0; } int foo() { - int x[45]; + float x; return 0; } pb_params_iso.res warning: line 23: should i be a metavariable? diff = --- tests/pb_params_iso.c +++ /tmp/cocci-output-8348-f2e749-pb_params_iso.c @@ -1,17 +1,17 @@ -int f(bool a, int i, bool b) { +int f(bool a, int i, char j, bool b) { i++; } -int f(int i, bool b) { +int f(int i, char j, bool b) { i++; } -int f(bool a, int i) { +int f(bool a, int i, char j) { i++; } -int f(int i) { +int f(int i, char j) { i++; } pb_parsing_macro.res diff = --- tests/pb_parsing_macro.c +++ /tmp/cocci-output-8348-60978e-pb_parsing_macro.c @@ -1,4 +1,4 @@ #define FOO_METH_TEST(a) prefix_##a void FOO_METH_TEST(foo)(int x){ - alloca(x); + malloc(x); } pb_tag_symbols.res diff = --- tests/pb_tag_symbols.c +++ /tmp/cocci-output-8348-5abf5e-pb_tag_symbols.c @@ -1,5 +1,3 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - if (copy_from_user(v,arg) != 0) - return -EFAULT; else {} } pcim.res diff = --- tests/pcim.c +++ /tmp/cocci-output-8348-3c1140-pcim.c @@ -1,5 +1,6 @@ int main () { - ctx->sensePA = pci_map_single(adapter->dev, cmd->sense_buffer, + ctx->sensePA = dma_map_single(&adapter->dev->dev, + cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, - PCI_DMA_FROMDEVICE); + DMA_FROM_DEVICE); } pmac.res diff = --- tests/pmac.c +++ /tmp/cocci-output-8348-f99ed5-pmac.c @@ -4,7 +4,5 @@ #include #endif -#define chip_t pmac_t - static int snd_pmac_register_sleep_notifier(pmac_t *chip); static int snd_pmac_unregister_sleep_notifier(pmac_t *chip); posiso.res diff = --- tests/posiso.c +++ /tmp/cocci-output-8348-75892b-posiso.c @@ -1,9 +1,7 @@ int main () { int *x; - if (x == NULL) x = a; else x = b; if (!x) x = a; else x = b; if (x == a) x = a; else x = b; - if (x == NULL) x = a; if (!x) x = a; if (x == a) x = a; } positionc.res diff = --- tests/positionc.c +++ /tmp/cocci-output-8348-39731d-positionc.c @@ -2,8 +2,6 @@ int main () { if (foo(6,7)) x = ret; else x = ret; if (foo(6,7)) x = ret; else x = ret; if (foo(7,7)) x = ret; else x = ret; - if (bar(6,7)) x = ret; else x = ret; - if (bar(6,7)) x = ret; else x = ret; if (bar(7,7)) x = ret; else x = ret; } post.res diff = --- tests/post.c +++ /tmp/cocci-output-8348-8c0b1d-post.c @@ -1,8 +1,6 @@ int main() { - f(3, foo + bar, 5); f(4, 3, 5); f(4, 3, 5); - h(3, some + thing, 5); h(4, 3, 5); h(4, 3, 5); } pragmatest.res diff = --- tests/pragmatest.c +++ /tmp/cocci-output-8348-8ee810-pragmatest.c @@ -1,17 +1,10 @@ int two () { return 12; } -#define foo 12 - -#pragma inline(one) - -int one (); +int one () __attribute__((always_inline)); int one () { return 12; } int three () { return 12; } -#pragma abc one def - #pragma abc ddd def -#pragma abc one def pragmatest1.res diff = --- tests/pragmatest1.c +++ /tmp/cocci-output-8348-dbd77b-pragmatest1.c @@ -1,3 +1,2 @@ -#pragma xxx a b c -#pragma xxx (a, b, c) + print_return.res warning: line 6: should link be a metavariable? warning: rule starting on line 1: metavariable E not used in the - or context code diff = --- tests/print_return.c +++ /tmp/cocci-output-8348-016f5d-print_return.c @@ -1,4 +1,3 @@ int config(struct pcmcia_device *link) { - bar(); - return 0; + return bar(); } proto.res diff = --- tests/proto.c +++ /tmp/cocci-output-8348-081eab-proto.c @@ -1,10 +1,2 @@ static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); static void bch_empty_fifo(struct BCState *bcs, int count); - -static void -bch_sched_event(struct BCState *bcs, int event) -{ - bcs->event |= 1 << event; - schedule_work(&bcs->work); -} proto2.res diff = --- tests/proto2.c +++ /tmp/cocci-output-8348-254412-proto2.c @@ -1,10 +1,9 @@ static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); +static void bch_sched_event(int event); static void bch_empty_fifo(struct BCState *bcs, int count); static void -bch_sched_event(struct BCState *bcs, int event) -{ +bch_sched_event(int event) { bcs->event |= 1 << event; schedule_work(&bcs->work); } proto_ver1.res diff = --- tests/proto_ver1.c +++ /tmp/cocci-output-8348-ac35cc-proto_ver1.c @@ -1,10 +1,2 @@ void bch_l2l1(struct PStack *st, int pr, void *arg); -void bch_sched_event(struct BCState *bcs, int event); void bch_empty_fifo(struct BCState *bcs, int count); - -void -bch_sched_event(struct BCState *bcs, int event) -{ - bcs->event |= 1 << event; - schedule_work(&bcs->work); -} proto_ver2.res diff = --- tests/proto_ver2.c +++ /tmp/cocci-output-8348-aef3ed-proto_ver2.c @@ -46,7 +46,6 @@ static inline void dch_int(struct IsdnCa static void __devinit dch_setstack(struct PStack *st, struct IsdnCardState *cs); static void __devinit dch_init(struct IsdnCardState *cs); static void bch_l2l1(struct PStack *st, int pr, void *arg); -static void bch_sched_event(struct BCState *bcs, int event); static void bch_empty_fifo(struct BCState *bcs, int count); static void bch_fill_fifo(struct BCState *bcs); static void bch_int(struct IsdnCardState *cs, u_char hscx); @@ -584,16 +583,6 @@ bch_l2l1(struct PStack *st, int pr, void } //---------------------------------------------------------- -// proceed with bottom half handler BChannel_bh() -//---------------------------------------------------------- -static void -bch_sched_event(struct BCState *bcs, int event) -{ - bcs->event |= 1 << event; - schedule_work(&bcs->work); -} - -//---------------------------------------------------------- // Read B channel fifo to receive buffer //---------------------------------------------------------- static void protoassert.res diff = --- tests/protoassert.c +++ /tmp/cocci-output-8348-fd440f-protoassert.c @@ -1,6 +1,8 @@ static unsigned mii_rd(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg); +static struct pcmcia_driver ZZZ_driver = { + .owner = THIS_MODULE, +}; int init(void) { - foo(); } protox.res warning: line 14: should x be a metavariable? warning: line 16: should x be a metavariable? ptrar.res diff = --- tests/ptrar.c +++ /tmp/cocci-output-8348-9e09ed-ptrar.c @@ -1,8 +1,8 @@ int main () { struct foo *x; struct foo y[12]; - *y = 4; - *x = 2; - a = sizeof x; - b = sizeof "foo"; + *12 = 4; + *20 = 2; + a = sizeof 20; + b = sizeof 12; } rcu3.res diff = --- tests/rcu3.c +++ /tmp/cocci-output-8348-b54167-rcu3.c @@ -3,6 +3,6 @@ static struct mtd_chip_driver *get_mtd_c struct list_head *pos; struct mtd_chip_driver *this; - this = list_entry(pos, typeof(*this), list); - this = list_entry(pos, struct foo, list); + this = list_entry(_X(pos), typeof(*this), list); + this = list_entry(_X(pos), struct foo, list); } regexp.res diff = --- tests/regexp.c +++ /tmp/cocci-output-8348-2d3043-regexp.c @@ -1,9 +1,23 @@ int main(void) { int foo; +int foo_begins_by_foo; +int foo_ends_by_foo; +int foo_contains_foo; +int foo_is_an_id; int bar; +int bar_doesn_t_contain_foo; +int bar_is_an_id; int foobar; +int foobar_begins_by_foo; +int foobar_contains_foo; +int foobar_is_an_id; int barfoobar; +int barfoobar_contains_foo; +int barfoobar_is_an_id; int barfoo; +int barfoo_ends_by_foo; +int barfoo_contains_foo; +int barfoo_is_an_id; } regexp2.res diff = --- tests/regexp2.c +++ /tmp/cocci-output-8348-40d3d4-regexp2.c @@ -2,9 +2,23 @@ int main(void) { int t0 = FOO; +int t0_equals_cst_that_begins_by_FOO; +int t0_equals_cst_that_ends_by_FOO; +int t0_equals_cst_that_contains_FOO; +int t0_is_constant; int t1 = BAR; +int t1_equals_cst_that_doesn_t_contain_FOO; +int t1_is_constant; int t2 = FOOBAR; +int t2_equals_cst_that_begins_by_FOO; +int t2_equals_cst_that_contains_FOO; +int t2_is_constant; int t3 = BARFOOBAR; +int t3_equals_cst_that_contains_FOO; +int t3_is_constant; int t4 = BARFOO; +int t4_equals_cst_that_ends_by_FOO; +int t4_equals_cst_that_contains_FOO; +int t4_is_constant; } regexp3.res diff = --- tests/regexp3.c +++ /tmp/cocci-output-8348-417b4a-regexp3.c @@ -2,10 +2,27 @@ int main(void) { char *t0 = "FOO"; +char *t0_equals_cst_that_begins_by_FOO; +char *t0_equals_cst_that_ends_by_FOO; +char *t0_equals_cst_that_contains_FOO; +char *t0_is_constant; char *t1 = "BAR"; +char *t1_equals_cst_that_doesn_t_contain_FOO; +char *t1_is_constant; char *t2 = "FOOBAR"; +char *t2_equals_cst_that_begins_by_FOO; +char *t2_equals_cst_that_contains_FOO; +char *t2_is_constant; char *t3 = "BARFOOBAR"; +char *t3_equals_cst_that_contains_FOO; +char *t3_is_constant; char *t4 = "BARFOO"; +char *t4_equals_cst_that_ends_by_FOO; +char *t4_equals_cst_that_contains_FOO; +char *t4_is_constant; char *s0 = "%s"; +char *s0_is_a_format_for_at_least_a_string; +char *s0_equals_cst_that_doesn_t_contain_FOO; +char *s0_is_constant; } rem1.res diff = --- tests/rem1.c +++ /tmp/cocci-output-8348-21bef9-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) { foo(); } yyy(); } rem2.res diff = --- tests/rem2.c +++ /tmp/cocci-output-8348-20d62e-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) foo(); yyy(); } remaft.res diff = --- tests/remaft.c +++ /tmp/cocci-output-8348-7dd0fc-remaft.c @@ -1,8 +1,6 @@ int main() { #ifdef BLAH - a(); #endif - b(); c() #ifdef BLAH ; remove_call.res diff = --- tests/remove_call.c +++ /tmp/cocci-output-8348-05fa36-remove_call.c @@ -1,6 +1,2 @@ int main () { - int x = 3 + FN() + FN(); - x = 3 + FN() + FN(); - FN(); - return 3 + FN() + FN(); } remparam.res diff = --- tests/remparam.c +++ /tmp/cocci-output-8348-b25b15-remparam.c @@ -1,14 +1,14 @@ static irqreturn_t -snd_ad1889_interrupt(void *dev_id, int x, - struct pt_regs *regs) +snd_ad1889_interrupt(void *dev_id, int x + ) { return IRQ_HANDLED; } static irqreturn_t -snd_ad1889_interrupt(void *dev_id, - struct pt_regs *regs) +snd_ad1889_interrupt(void *dev_id + ) { return IRQ_HANDLED; rems.res diff = --- tests/rems.c +++ /tmp/cocci-output-8348-d193a3-rems.c @@ -1,5 +1,4 @@ int main () { x(); - if (x) a(); y(); } rems1.res diff = --- tests/rems1.c +++ /tmp/cocci-output-8348-22f8c7-rems1.c @@ -1,5 +1,4 @@ int main () { x(); - a(); y(); } remstruct.res warning: line 2: should mpuio_irq_chip be a metavariable? warning: line 8: should xxx be a metavariable? diff = --- tests/remstruct.c +++ /tmp/cocci-output-8348-10a8c5-remstruct.c @@ -1,13 +1,4 @@ -static struct irqchip mpuio_irq_chip = { - .ack = mpuio_ack_irq, - .mask = mpuio_mask_irq, - .unmask = mpuio_unmask_irq -}; -static struct irqchip xxx = { - .a = 12, - .b = 15, -}; int hello ( String input ) { replace_typedef.res diff = --- tests/replace_typedef.c +++ /tmp/cocci-output-8348-03ddbd-replace_typedef.c @@ -3,8 +3,8 @@ typedef struct foo { int x; } foo_t; typedef int int_t; int main() { - foo_t x; - int_t y; + struct foo x; + int y; x.x = 12; return x.x + y; } reserved.res diff = --- tests/reserved.c +++ /tmp/cocci-output-8348-cf07bc-reserved.c @@ -1,7 +1,4 @@ int main() { - f(1,1); - f(2,2,2); - f(3,3,3,3); f(1,2); f(2,3,2); f(3,4,3,3); retest.res diff = --- tests/retest.c +++ /tmp/cocci-output-8348-6a832e-retest.c @@ -1,6 +1,6 @@ int main () { foo(); - if (x) + if (f(x)) return 3; bar(); } retmacro.res diff = --- tests/retmacro.c +++ /tmp/cocci-output-8348-9681eb-retmacro.c @@ -1,6 +1,6 @@ #define REG_PATTERN_TEST(R, M, W) \ { \ - for (pat = 0; pat < sizeof(test)/sizeof(test[0]); pat++) { \ + for (pat = 0; pat < ARRAY_SIZE(test); pat++) { \ if (value != (test[pat] & W & M)) { \ return 1; \ } \ @@ -10,7 +10,7 @@ #define REG_PATTERN_TEST2(R, M, W) \ { \ - for (pat = 0; pat < sizeof(test)/sizeof(test[0]); pat++) { \ + for (pat = 0; pat < ARRAY_SIZE(test); pat++) { \ if (value != (test[pat] & W & M)) { \ } \ } \ rets.res return.res warning: rule starting on line 18: metavariable S not used in the - or context code diff = --- tests/return.c +++ /tmp/cocci-output-8348-3aea91-return.c @@ -1,6 +1,9 @@ void foo(int y) { int x; - if (x) { aaa(); bbb(); return; } - if (x) { aaa(); bbb(); return; } + if (x) { aaa(); bbb(); before_return(); + return; } + if (x) { aaa(); bbb(); before_return(); + return; } ccc(); + before_return(); } return_implicit.res diff = --- tests/return_implicit.c +++ /tmp/cocci-output-8348-9229e4-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { foo(); + return -ENODEV; } retval.res diff = --- tests/retval.c +++ /tmp/cocci-output-8348-dd8066-retval.c @@ -1,21 +1,15 @@ int main () { if (retval1) { - if (retval2 != -ENODEV) { - foo(); - return 3; - } - bar(); + foo(); + return 3; } return 6; } int second () { if (retval1) { - if (retval2 != -ENODEV) { - foo(); - goto out; - } - bar(); + foo(); + goto out; } out: return 6; retval2.res diff = --- tests/retval2.c +++ /tmp/cocci-output-8348-4d1b83-retval2.c @@ -11,7 +11,7 @@ int getlen(int *input, size_t maxlen, in return -1; } -int getlen(int *input, size_t maxlen, int delim, size_t *result) { +int newname(int *input, size_t maxlen, int delim, size_t *result) { size_t i; for (i = 0; i < maxlen; ++i) { if (input[i] == delim) { rptr.res diff = --- tests/rptr.c +++ /tmp/cocci-output-8348-527f10-rptr.c @@ -1,6 +1,4 @@ int foo(struct resource *r) { - if (r == NULL) - return 0; return 1; } same_expr.res diff = --- tests/same_expr.c +++ /tmp/cocci-output-8348-4d36cc-same_expr.c @@ -1,6 +1,5 @@ void main(int i) { - f(1,1); f(1,2); } scope_problem.res diff = --- tests/scope_problem.c +++ /tmp/cocci-output-8348-146c2b-scope_problem.c @@ -1,15 +1,7 @@ void main(int i) { - - int a; - foo(a); - a = 1; - if(1) { int a; - a = 2; } - a = 3; - } serio.res shared_brace.res warning: rule starting on line 1: metavariable S not used in the - or context code warning: rule starting on line 1: metavariable x not used in the - or context code warning: rule starting on line 1: metavariable T not used in the - or context code diff = --- tests/shared_brace.c +++ /tmp/cocci-output-8348-d34edb-shared_brace.c @@ -1,9 +1,7 @@ int __init ixj_init(void) { - if (pci_present()) { - if ((probe = ixj_probe_pci(&cnt)) < 0) { - return probe; - } + if ((probe = ixj_probe_pci(&cnt)) < 0) { + return probe; } } signed.res warning: line 4: should x be a metavariable? warning: line 10: should a be a metavariable? diff = --- tests/signed.c +++ /tmp/cocci-output-8348-4fd811-signed.c @@ -1,5 +1,5 @@ int main() { - signed x; - unsigned a; + signed y; + unsigned b; return x; } sis.res diff = --- tests/sis.c +++ /tmp/cocci-output-8348-b2fc84-sis.c @@ -1,4 +1,4 @@ -DECLARE_MUTEX(disconnect_sem); +DEFINE_MUTEX(disconnect_sem); /*int foo() { return; }*/ // if uncomment, and erase newline, then have Line ID EOF and // some patterns in parsing_hacks don't apply anymore :( sizeof.res diff = --- tests/sizeof.c +++ /tmp/cocci-output-8348-e2f60e-sizeof.c @@ -1,7 +1,7 @@ int main (int param) { - int i = sizeof(3); - int j = sizeof 3; + int i = sizeof(int); + int j = sizeof(int); int k = sizeof (int *); } sizeof_julia.res diff = --- tests/sizeof_julia.c +++ /tmp/cocci-output-8348-fe3d4a-sizeof_julia.c @@ -1,5 +1,5 @@ static int typhoon_ioctl(struct video_device *dev, unsigned int cmd, void *arg) { - copy_from_user(&v, arg, sizeof(v)); + foo(); } sizeptr.res diff = --- tests/sizeptr.c +++ /tmp/cocci-output-8348-838523-sizeptr.c @@ -5,7 +5,7 @@ int main () { ssize_t b; ptrdiff_t c; - foo(sizeof *x,a); - foo(*x,b); - foo(x-y,c); + foo(ASIZE(sizeof ANINT(*x)),ASIZE(a)); + foo(ANINT(*x),ASSIZE(b)); + foo(APTRDIFF(x - y),APTRDIFF(c)); } sizestar.res diff = --- tests/sizestar.c +++ /tmp/cocci-output-8348-40e4d0-sizestar.c @@ -1,7 +1,7 @@ int main () { max = num_var_ranges; if (fcount == NULL) { - fcount = kzalloc(max * sizeof *fcount, GFP_KERNEL); + fcount = kzalloc(max, sizeof *fcount, GFP_KERNEL); if (!fcount) return -ENOMEM; FILE_FCOUNT(file) = fcount; skip.res diff = --- tests/skip.c +++ /tmp/cocci-output-8348-9c4701-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); - f(2); - g(); + h(); } sl2.res diff = --- tests/sl2.c +++ /tmp/cocci-output-8348-027b6a-sl2.c @@ -1,11 +1,14 @@ int main () { + something(); + others(); + more(); +} + +int other () { one(); two(); one(); two(); -} - -int other () { one(); two(); one(); slen.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_701448.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_701448.ml File "_none_", line 1: Warning 58: no cmx file was found in path for module Common, and its interface was not compiled with -opaque File "_none_", line 1: Warning 58: no cmx file was found in path for module Iteration, and its interface was not compiled with -opaque Compilation OK! Loading ML code of the SP... diff = --- tests/slen.c +++ /tmp/cocci-output-8348-f03435-slen.c @@ -3,16 +3,10 @@ int main() { one(); } if (x) { - one(); - two(); - three(); + was3(); } if (x) { - one(); - two(); - three(); - four(); - five(); + was5(); } end(); } smallfn.res diff = --- tests/smallfn.c +++ /tmp/cocci-output-8348-1849e7-smallfn.c @@ -1,30 +1,65 @@ int main () { if (y) { - one(); + { + one(); + foo(); + } + foo(); } else { - two(); + { + two(); + foo(); + } + foo(); } + foo(); while (y) { - one(); + { + one(); + foo(); + } + foo(); + } + foo(); + { + do { + one(); + foo(); + } + foo(); while(y); + foo(); } - do { - one(); - } while(y); switch (y) { - case 12:one(); - case 27:two(); + case 12: + foo();one(); + foo(); + case 27: + foo();two(); + foo(); } + foo(); { one(); + foo(); } + foo(); } int main () { if (y) { - one(); + { + one(); + foo(); + } + foo(); } else { - two(); + { + two(); + foo(); + } + foo(); } + foo(); } sp.res diff = --- tests/sp.c +++ /tmp/cocci-output-8348-a25693-sp.c @@ -1,4 +1,4 @@ -typedef struct { +struct name { unsigned long gcr; struct pci_dev *pci; -} snd_card_als4000_t; +}; spaces.res spacing.res diff = --- tests/spacing.c +++ /tmp/cocci-output-8348-604cb6-spacing.c @@ -1,8 +1,19 @@ typedef int *foo; +void *bar(int *baz) { + return baz; +} + int f(int x) { one(); if (x) { two(); + if (y) { + test(); + } } } + +void *bar(int *baz) { + return baz; +} spl.res diff = --- tests/spl.c +++ /tmp/cocci-output-8348-08eb0a-spl.c @@ -2,11 +2,13 @@ int main() { spin_lock(&isp116x->lock); /* take idle endpoints out of the schedule */ if (!list_empty(&ep->hep->urb_list)) { + spin_unlock(&isp116x->lock); return; } /* async deschedule */ if (!list_empty(&ep->schedule)) { + spin_unlock(&isp116x->lock); return; } } starprint.res diff = --- tests/starprint.c +++ /tmp/cocci-output-8348-dc43cb-starprint.c @@ -1,6 +1,6 @@ typedef int *LPINT; -int foo(LPINT x, LPINT *y) +int foo(int *x, int **y) { return *x == **y; } static.res diff = --- tests/static.c +++ /tmp/cocci-output-8348-a143ff-static.c @@ -1,4 +1,3 @@ static inline int i8042_read_data(void) { - return jazz_kh->data; } stm1.res stm10.res diff = --- tests/stm10.c +++ /tmp/cocci-output-8348-61059c-stm10.c @@ -1,6 +1,7 @@ int main(int x) { f(); if (x) replace(); + h(); g(); if (x) replace(); } stm10_ver1.res diff = --- tests/stm10_ver1.c +++ /tmp/cocci-output-8348-8e005a-stm10_ver1.c @@ -1,5 +1,6 @@ int main(int x) { f(); { replace(); replace();} + h(); g(); } stm2.res diff = --- tests/stm2.c +++ /tmp/cocci-output-8348-6374e7-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); - replace(); g(); } stm3.res diff = --- tests/stm3.c +++ /tmp/cocci-output-8348-69833f-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); g(); } stm4.res diff = --- tests/stm4.c +++ /tmp/cocci-output-8348-16e7a2-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); g(); + g(); } stm5.res diff = --- tests/stm5.c +++ /tmp/cocci-output-8348-3223c3-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); + h(); replace(); g(); + g(); } stm6.res diff = --- tests/stm6.c +++ /tmp/cocci-output-8348-44ed13-stm6.c @@ -1,5 +1,6 @@ int main(int x) { f(); + h(); replace(); g(); } stm7.res stm8.res diff = --- tests/stm8.c +++ /tmp/cocci-output-8348-a85812-stm8.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); replace(); g(); } stmt.res diff = --- tests/stmt.c +++ /tmp/cocci-output-8348-27cd1f-stmt.c @@ -1,4 +1,5 @@ int f() { int x; + foo(); xxx(); } str_init.res warning: line 4: should x be a metavariable? diff = --- tests/str_init.c +++ /tmp/cocci-output-8348-68d25e-str_init.c @@ -1,7 +1,3 @@ struct foo x = { - .aaa = 5, - .rrr = 1, .xxx= 12, - .bbb = 2, - .ccc = 4, }; strangeorder.res warning: rule starting on line 1: metavariable f not used in the - or context code diff = --- tests/strangeorder.c +++ /tmp/cocci-output-8348-a76556-strangeorder.c @@ -4,8 +4,10 @@ i2c_new_device(struct i2c_adapter *adap, struct i2c_client *client; client = kzalloc(sizeof *client, GFP_KERNEL); - if (!client) + if (!client) { + client = NULL; return NULL; + } client->adapter = adap; if (status < 0) { strid.res diff = --- tests/strid.c +++ /tmp/cocci-output-8348-00d67e-strid.c @@ -1,4 +1,4 @@ int main () { struct foo *a; - print(a); + print(f(a, 12)); } strid2.res diff = --- tests/strid2.c +++ /tmp/cocci-output-8348-771b20-strid2.c @@ -3,8 +3,8 @@ int main () { enum foo1 *b; struct foo a1; enum foo1 b1; - print(a); - print(b); + print(f(a, 12)); + print(f(b, 12)); print(a1.x); print(b1); } string.res struct.res diff = --- tests/struct.c +++ /tmp/cocci-output-8348-87b5bf-struct.c @@ -8,7 +8,5 @@ struct foo { int main() { struct foo *a; - f(a->first); - f(a->second); } struct_metavar.res diff = --- tests/struct_metavar.c +++ /tmp/cocci-output-8348-1019a4-struct_metavar.c @@ -9,9 +9,6 @@ struct foo { int main() { struct foo *a; struct notfoo *b; - f(a->first); - f(a->second); - f(a->second); f(b->first); f(b->second); } struct_typedef.res diff = --- tests/struct_typedef.c +++ /tmp/cocci-output-8348-fe149d-struct_typedef.c @@ -1,5 +1,5 @@ -typedef struct dvb_frontend { - struct dvb_frontend_ops* ops; +typedef struct dvb2_frontend { + struct dvb_frontend_ops ops; } xx_t; typedef struct { structfoo.res warning: line 5: should my_foo be a metavariable? diff = --- tests/structfoo.c +++ /tmp/cocci-output-8348-8b162c-structfoo.c @@ -1,4 +1 @@ -struct foo my_foo[] = { -.a = 1, -.u.b = 42, -}; +FOO(1, 42); substruct.res diff = --- tests/substruct.c +++ /tmp/cocci-output-8348-17e08f-substruct.c @@ -1,5 +1,5 @@ struct a { int a; } x[2] = { - { .a = 7, }, - { .a = 17, }, + { DECLARE_A(7), }, + { DECLARE_A(17), }, }; sw.res diff = --- tests/sw.c +++ /tmp/cocci-output-8348-2f3195-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c +++ /tmp/cocci-output-8348-d47a44-swap3.c @@ -2,7 +2,7 @@ static void __ar955x_tx_iq_cal_sort(stru struct coeff *coeff, int i, int nmeasurement) { - int im, ix, iy, temp; + int im, ix, iy; for (iy = ix + 1; iy <= MAXIQCAL - 1; iy++) { // if ( iy <= MAXIQCAL - 1) { switch.res diff = --- tests/switch.c +++ /tmp/cocci-output-8348-04291f-switch.c @@ -3,6 +3,5 @@ int main () { default: break; case X: - f(); } } switchdecl.res warning: switch_1: metavariable S_1 not used in the - or context code diff = --- tests/switchdecl.c +++ /tmp/cocci-output-8348-cfad98-switchdecl.c @@ -4,7 +4,7 @@ switch (2) { int x; int x; - case 2: x=y; + case 2: break; case 4: j++; symbol.res warning: line 12: should g be a metavariable? diff = --- tests/symbol.c +++ /tmp/cocci-output-8348-8819dd-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; - f = 3; - return f; } td.res diff = --- tests/td.c +++ /tmp/cocci-output-8348-83a927-td.c @@ -1,5 +1,5 @@ -struct foo {int a;}; +struct foo {int b;}; -typedef struct blah {int a;} name; +typedef struct blah {int b;} name; -typedef struct {int a;} xxx; +typedef struct {int b;} xxx; tdnl.res diff = --- tests/tdnl.c +++ /tmp/cocci-output-8348-a21a73-tdnl.c @@ -4,5 +4,4 @@ void main() { td2.attr; - foo(); } tern.res diff = --- tests/tern.c +++ /tmp/cocci-output-8348-cd34fe-tern.c @@ -1,4 +1,4 @@ int main () { - return (wc >= 0 && wc <= 0x7f ? wc : 0x7f); + return wc >= 0 && wc <= 0x7f ? wc : 0x7f; } test0.res diff = --- tests/test0.c +++ /tmp/cocci-output-8348-080d0b-test0.c @@ -1,5 +1,3 @@ int main(int i) { - f(1); f(2); - f(1); } test1.res diff = --- tests/test1.c +++ /tmp/cocci-output-8348-eb2ab3-test1.c @@ -6,9 +6,9 @@ void main(int foo) { x(); if(1) { // h(3); - h(3); + h(1, 3, 2); } else { - h(4); + h(1, 4, 2); } test10.res test10_ver1.res diff = --- tests/test10_ver1.c +++ /tmp/cocci-output-8348-3c53f8-test10_ver1.c @@ -3,7 +3,7 @@ void main(int i) { f(1); g(1); //g(1); - h(1); + h(1, 1); h(1); } test11.res test11_ver1.res diff = --- tests/test11_ver1.c +++ /tmp/cocci-output-8348-65f10f-test11_ver1.c @@ -2,6 +2,6 @@ void main(int i) { f(1); g(1); //g(1); - h(1); + h(1, 1); } test12.res diff = --- tests/test12.c +++ /tmp/cocci-output-8348-a87b1e-test12.c @@ -1,6 +1,6 @@ void main(int foo) { - f(1); + f(1, 2); foo(); g(2); test2.res diff = --- tests/test2.c +++ /tmp/cocci-output-8348-b0f3bc-test2.c @@ -2,7 +2,7 @@ void main() { f(1,2,3); if(1) - g(1); + h(1); else - g(1); + h(1); } test3.res diff = --- tests/test3.c +++ /tmp/cocci-output-8348-665b1f-test3.c @@ -4,7 +4,7 @@ void main() f(3); if(1) - g(1); + h(3, 1); else - g(2); + h(3, 2); } test4.res diff = --- tests/test4.c +++ /tmp/cocci-output-8348-05a0f1-test4.c @@ -1,7 +1,6 @@ void main() { f(1,2,3); - h(1); if(1) g(1); else test5.res diff = --- tests/test5.c +++ /tmp/cocci-output-8348-451085-test5.c @@ -12,9 +12,9 @@ void main() { f(1); if(1) { - g(1); + h(1); } else { - g(1); + h(1); } // g(1); // if add this then the CTL even with the direct path will this time test5_ver1.res diff = --- tests/test5_ver1.c +++ /tmp/cocci-output-8348-9059fb-test5_ver1.c @@ -12,9 +12,9 @@ void main() { f(1); if(1) { - g(1); + h(1); } else { - g(1); + h(1); } g(1); // if add this then the CTL even with the direct path will this time test6.res diff = --- tests/test6.c +++ /tmp/cocci-output-8348-c6c7ef-test6.c @@ -4,13 +4,13 @@ void main() { /* a comment */ - f(4) + f(5); + f(4, "foo") + f(5, "foo"); //f(f(3)); // if uncomment, should have the warning "already minused token" - if(f(1)) - f(1); + if(f(1, "foo")) + f(1, "foo"); else - f(2); + f(2, "foo"); if(1) g(1); @@ -20,7 +20,7 @@ void main() void mainbis() { - f(10); + f(10, "foo"); } test7.res diff = --- tests/test7.c +++ /tmp/cocci-output-8348-e8d88b-test7.c @@ -2,10 +2,12 @@ void main() { if(1) { - f(1); + f(1, "foo"); + f(1, "bar"); } - f(3); + f(3, "foo"); + f(3, "bar"); /* nice comment */ } test8.res diff = --- tests/test8.c +++ /tmp/cocci-output-8348-4225a4-test8.c @@ -1,7 +1,6 @@ -void main(int foo) { +void main(char i, int foo) { float k; - int i; float j; { test9.res diff = --- tests/test9.c +++ /tmp/cocci-output-8348-dfa58a-test9.c @@ -4,9 +4,9 @@ void main(int foo) { // f(1); // if uncoment then problems g(2); if(1) { - h(3); + h(1, 3); } else { - h(4); + h(1, 4); } // if uncomment then problems test_s.res diff = --- tests/test_s.c +++ /tmp/cocci-output-8348-dd4ea4-test_s.c @@ -2,7 +2,7 @@ int main () { if (x-one) { one(); } - if (x-two) { + if (12) { one(); two(); } @@ -11,7 +11,7 @@ int main () { two(); three(); } - if (two) { + if (12) { while (x) { one(); } test_unsigned_meta.res warning: line 6: should x be a metavariable? warning: line 13: should y be a metavariable? warning: line 19: should q be a metavariable? warning: line 28: should m be a metavariable? warning: line 33: should x be a metavariable? warning: line 39: should y be a metavariable? diff = --- tests/test_unsigned_meta.c +++ /tmp/cocci-output-8348-1aa793-test_unsigned_meta.c @@ -1,8 +1,12 @@ int main () { - unsigned int x; - signed int y; + signed int x; + char new_x; + unsigned int y; + char new_y; unsigned char q; - char m; + char r; + unsigned char s1; + signed char s2; return 0; } testand.res diff = --- tests/testand.c +++ /tmp/cocci-output-8348-36bc27-testand.c @@ -1,5 +1,5 @@ int main () { f(1,2,3,4); - f(3,4,8,9); - f(8,9,3,4); + f(4,4,15,9); + f(15,9,4,4); } testand2.res diff = --- tests/testand2.c +++ /tmp/cocci-output-8348-a4ebf7-testand2.c @@ -1,6 +1,6 @@ int main () { f(1,2,3,4); - f(3,4,8,9); + m(3,4,80,9); g(8,9,3,4); } three_types.res diff = --- tests/three_types.c +++ /tmp/cocci-output-8348-ff0abc-three_types.c @@ -7,5 +7,5 @@ via_init_dmablit(drm_device_t *dev) { drm_via_blitq_t *blitq; - INIT_WORK(&blitq->wq, via_dmablit_workqueue,blitq); + INIT_WORK(&blitq->wq, via_dmablit_workqueue); } threea.res diff = --- tests/threea.c +++ /tmp/cocci-output-8348-0f3d08-threea.c @@ -1,4 +1,3 @@ int main() { f(12); - q(12); } top.res diff = --- tests/top.c +++ /tmp/cocci-output-8348-c7bdf5-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); topdec.res diff = --- tests/topdec.c +++ /tmp/cocci-output-8348-b843e8-topdec.c @@ -5,4 +5,5 @@ static int debug; /* Network device part of the driver */ static LIST_HEAD(tun_dev_list); -static struct ethtool_ops tun_ethtool_ops; +static const struct ethtool_ops tun_ethtool_ops; + topdec_ver1.res diff = --- tests/topdec_ver1.c +++ /tmp/cocci-output-8348-5e4483-topdec_ver1.c @@ -2,6 +2,5 @@ static int debug; #endif -/* Network device part of the driver */ +static const struct ethtool_ops tun_ethtool_ops; -static struct ethtool_ops tun_ethtool_ops; topdec_ver2.res diff = --- tests/topdec_ver2.c +++ /tmp/cocci-output-8348-bbfa6e-topdec_ver2.c @@ -5,4 +5,5 @@ static int debug; /* Network device part of the driver */ int x; -static struct ethtool_ops tun_ethtool_ops; +static const struct ethtool_ops tun_ethtool_ops; + toplevel_macrostmt.res diff = --- tests/toplevel_macrostmt.c +++ /tmp/cocci-output-8348-ac81aa-toplevel_macrostmt.c @@ -2,7 +2,7 @@ void main(int i) { } -MODULE_PARM(x,y); +module_param(x, int, y); MODULE_AUTHOR("me"); toplevel_struct.res warning: line 5: should usb_stor_host_template be a metavariable? diff = --- tests/toplevel_struct.c +++ /tmp/cocci-output-8348-99031a-toplevel_struct.c @@ -3,6 +3,7 @@ struct SHT usb_stor_host_template = { .name = "usb-storage", .proc_name = "usb-storage", .proc_info2 = usb_storage_proc_info2, + .foo = 12, .proc_info = usb_storage_proc_info, .proc_dir = NULL, .info = usb_storage_info, @@ -72,11 +73,11 @@ unsigned char usb_stor_sense_notready[18 void usb_storage_proc_info(int i) { - f(1); + g(1); } void usb_storage_proc_info2(int i) { - f(27); + g(27); } tup.res warning: rule starting on line 10: metavariable C not used in the - or context code warning: rule starting on line 10: metavariable B not used in the - or context code diff = --- tests/tup.c +++ /tmp/cocci-output-8348-39f327-tup.c @@ -1,7 +1,7 @@ static int cm206_block_ioctl(struct inode *inode, struct file *file, unsigned cmd, unsigned long arg) { - return cdrom_ioctl(&cm206_info, inode, cmd, arg); + return xxx(); } static struct block_device_operations cm206_bdops = twomatch.res diff = --- tests/twomatch.c +++ /tmp/cocci-output-8348-5f09ca-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); - xxx(12,1); + yyy(); } twoproto.res diff = --- tests/twoproto.c +++ /tmp/cocci-output-8348-d657e3-twoproto.c @@ -1,11 +1,9 @@ static void tc574_config(dev_link_t *link); -static int tc574_attach(struct pcmcia_device *p_dev) +static int tc574_attach(struct pcmcia_device *link) { - dev_link_t *link = dev_to_instance(p_dev); } -static void tc574_detach(struct pcmcia_device *p_dev) +static void tc574_detach(struct pcmcia_device *link) { - dev_link_t *link = dev_to_instance(p_dev); } ty.res diff = --- tests/ty.c +++ /tmp/cocci-output-8348-8102b1-ty.c @@ -1,4 +1,4 @@ int main () { - struct foo x; + const struct foo x; return 12; } ty1.res warning: line 7: should x be a metavariable? diff = --- tests/ty1.c +++ /tmp/cocci-output-8348-3c5d23-ty1.c @@ -1,4 +1,3 @@ int fn(int y) { char x; - foo(int,char); } ty_tyexp.res diff = --- tests/ty_tyexp.c +++ /tmp/cocci-output-8348-8f64b2-ty_tyexp.c @@ -1,11 +1,11 @@ void main(double z) { - int x; - int y; + float x; + float y; } -int main(int z) { +float main(float z) { } -int main2(int z); +float main2(float z); tydisj.res warning: line 20: should a be a metavariable? warning: func: metavariable T not used in the - or context code (ONCE) disjtype not supported in smpl type inference, assuming unknown diff = --- tests/tydisj.c +++ /tmp/cocci-output-8348-24d866-tydisj.c @@ -1,2 +1,3 @@ -int64_t foo() { int64_t a; int i; return i << 20; } +int64_t foo() { int64_t a; int i; xxx(); + return i << 20; } tyex.res diff = --- tests/tyex.c +++ /tmp/cocci-output-8348-28f200-tyex.c @@ -1,12 +1,15 @@ typedef struct { double x; double y; +} Point; +typedef struct { char *name; + Point p; } Location; int main () { Location a; Location *b; - foo (a.x,a.y,a.name); - foo (b->x,b->y,b->name); + foo (a.p.x,a.p.y,a.name); + foo (b->p.x,b->p.y,b->name); } type.res warning: line 7: should x be a metavariable? diff = --- tests/type.c +++ /tmp/cocci-output-8348-68a591-type.c @@ -1,5 +1,5 @@ int foo() { - int x; + int *x; return 0; } type1.res diff = --- tests/type1.c +++ /tmp/cocci-output-8348-83fd90-type1.c @@ -1,5 +1,5 @@ int foo() { - int x; + int* x; return 0; } type_annotated.res diff = --- tests/type_annotated.c +++ /tmp/cocci-output-8348-7edcb6-type_annotated.c @@ -4,7 +4,7 @@ void f1(int z) { struct foo2 j; int k; - j+i.foo+j.foo; + j+i.newfoo+j.foo; } @@ -15,6 +15,6 @@ void f2(struct foo i) { struct foo2 j; int k; - j+i.foo+j.foo; + j+i.newfoo+j.foo; } type_ver1.res diff = --- tests/type_ver1.c +++ /tmp/cocci-output-8348-6bcc94-type_ver1.c @@ -1,5 +1,5 @@ int foo() { - struct foo x; + struct foo *x; return 0; } type_ver2.res diff = --- tests/type_ver2.c +++ /tmp/cocci-output-8348-588ba5-type_ver2.c @@ -1,5 +1,5 @@ int foo() { - int x[10]; + int[10] *x; return 0; } typedef.res diff = --- tests/typedef.c +++ /tmp/cocci-output-8348-71c681-typedef.c @@ -1,15 +1,15 @@ typedef struct bluecard_info_t { - dev_link_t link; + struct pcmcia_device *p_dev; } foo; static void should_work(u_long arg) { foo *info = (struct bluecard_info_t *)arg; - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } static void does_work(u_long arg) { struct bluecard_info_t *info = (struct bluecard_info_t *)arg; - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } typedef3.res diff = --- tests/typedef3.c +++ /tmp/cocci-output-8348-695550-typedef3.c @@ -1,5 +1,5 @@ typedef struct bluecard_info_t { - dev_link_t link; + struct pcmcia_device *p_dev; } foo; static void should_work(foo *info) @@ -9,5 +9,5 @@ static void should_work(foo *info) static void does_work(struct bluecard_info_t *info) { - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } typedef_double.res typeof.res diff = --- tests/typeof.c +++ /tmp/cocci-output-8348-9ed7c9-typeof.c @@ -1,6 +1,4 @@ int main() { int x; - f(x); f(sizeof(struct foo)); - f(sizeof(int)); } unelse.res diff = --- tests/unelse.c +++ /tmp/cocci-output-8348-9e7a32-unelse.c @@ -2,8 +2,6 @@ static short find_control(u16 control_in { if (!*pI) return 0; - else { - HPI_DEBUG_LOG(three, - one); - } + HPI_DEBUG_LOG(three, + one); } unfree.res diff = --- tests/unfree.c +++ /tmp/cocci-output-8348-2f034b-unfree.c @@ -2,8 +2,7 @@ static void mppe_free(void *arg) { struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; if (state) { - if (state->sha1_digest) - kfree(state->sha1_digest); + kfree(state->sha1_digest); kfree(state); } } unl.res diff = --- tests/unl.c +++ /tmp/cocci-output-8348-dc8e29-unl.c @@ -1,10 +1,10 @@ int main () { - if (new_pe == NULL) { + if (unlikely(new_pe == NULL)) { return NULL; } } int main () { - if (new_pe == NULL) + if (unlikely(new_pe == NULL)) return NULL; } useless_cast.res diff = --- tests/useless_cast.c +++ /tmp/cocci-output-8348-493ff2-useless_cast.c @@ -8,7 +8,7 @@ struct device { struct device *dev; -struct netdev_private *np = (struct netdev_private *) +struct netdev_private *np = dev->priv; varargs.res diff = --- tests/varargs.c +++ /tmp/cocci-output-8348-a1ad0d-varargs.c @@ -1,4 +1,5 @@ static void -fas216_log_command(FAS216_Info *info, int level, Scsi_Cmnd *SCpnt, char *fmt, ...) +fas216_log_command(FAS216_Info *info, int level, struct scsi_cmnd *SCpnt, + char *fmt, ...) {} varargs2.res diff = --- tests/varargs2.c +++ /tmp/cocci-output-8348-5e316a-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { + return NULL; } varargs3.res diff = --- tests/varargs3.c +++ /tmp/cocci-output-8348-be9d23-varargs3.c @@ -1,4 +1,3 @@ -static int foo(char *fmt, ...) { return 0; } @@ -8,7 +7,6 @@ static int bar(int x, y) return x+y; } -static int baz(FILE *stream, ...) { return 1; } video1bis.res diff = --- tests/video1bis.c +++ /tmp/cocci-output-8348-dde68f-video1bis.c @@ -3,7 +3,5 @@ void *arg) { if (cmd == VIDIOCGTUNER) { struct video_tuner v; - if (copy_from_user(v, arg, sizeof(v)) != 0) - ret(-EFAULT); else {} } } void.res diff = --- tests/void.c +++ /tmp/cocci-output-8348-aabb52-void.c @@ -1,5 +1,13 @@ int xbar(void) { return; } +int foo(void) { + return; +} + // this is some info about bar int bar(void) { return; } + +int foo(void) { + return; +} vpos.res diff = --- tests/vpos.c +++ /tmp/cocci-output-8348-c2d625-vpos.c @@ -1,9 +1,7 @@ int main() { f(2); if (x) { - g(1,1); } else { - g(1,2); } } whitespace.res diff = --- tests/whitespace.c +++ /tmp/cocci-output-8348-9d60d1-whitespace.c @@ -1,3 +1,3 @@ int main () { - foo(sizeof (struct xxx)); + foo(sizeof(struct xxx), 12); } wierd_argument.res diff = --- tests/wierd_argument.c +++ /tmp/cocci-output-8348-4882c9-wierd_argument.c @@ -1,7 +1,7 @@ static void ewx_i2c_setlines(snd_i2c_bus_t *bus, int clk, int data) { - ice1712_t *ice = snd_magic_cast(ice1712_t, bus->private_data, return); - ice1712_t *ice = snd_magic_cast(ice1712_t, bus->private_data, ); + ice1712_t *ice = bus->private_data; + ice1712_t *ice = bus->private_data; unsigned char tmp = 0; tmp++; } wierdinit.res wrongcheck.res diff = --- tests/wrongcheck.c +++ /tmp/cocci-output-8348-023403-wrongcheck.c @@ -1,5 +1,3 @@ int main () { - err = si476x_core_i2c_xfer(core, SI476X_I2C_RECV, - buffer, sizeof(buffer)); if (err == sizeof(buffer)) return; } ws2.res warning: rule starting on line 1: metavariable A not used in the + code diff = --- tests/ws2.c +++ /tmp/cocci-output-8348-c8ad13-ws2.c @@ -1,6 +1,5 @@ int main() { - if (foo()) - goto err; + goto err; err: return; } xfield.res diff = --- tests/xfield.c +++ /tmp/cocci-output-8348-1e9ab1-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; /* int y; y2.res diff = --- tests/y2.c +++ /tmp/cocci-output-8348-4070f8-y2.c @@ -1,10 +1,6 @@ static void asuscom_interrupt_ipac(int intno, void *dev_id, struct pt_regs *regs) { - if (!cs) { - printk(KERN_WARNING "ISDNLink: Spurious interrupt!\n"); - return; - } Start_IPAC: debugl1(cs, "IPAC ISTA %02X", ista); if ((ista & 0x3f) && icnt) { zero.res diff = --- tests/zero.c +++ /tmp/cocci-output-8348-f990d6-zero.c @@ -1,6 +1,2 @@ int main () { - memset(command, 0, sizeof(struct sbp2_command_info)); - memset(command, 0x00, sizeof(struct sbp2_command_info)); - memset(command, 0x0, sizeof(struct sbp2_command_info)); - memset(command, '\0', sizeof(struct sbp2_command_info)); } -------------------------------- statistics -------------------------------- 62.res : CORRECT a.res : CORRECT a3d.res : CORRECT a_and_e.res : CORRECT a_and_e_ver1.res : CORRECT ab.res : CORRECT addaft.res : CORRECT addbefore.res : CORRECT addbeforeafter.res : CORRECT addelse.res : CORRECT addfield.res : CORRECT addif.res : CORRECT addif1.res : CORRECT addif2.res : CORRECT addifdef.res : CORRECT addifelse.res : CORRECT addifelse2.res : CORRECT addtoo.res : CORRECT addtrace.res : CORRECT after_if.res : CORRECT allex.res : CORRECT allex2.res : CORRECT allex3.res : CORRECT anon.res : CORRECT ar.res : CORRECT arg.res : CORRECT argument.res : CORRECT arparam.res : CORRECT array_init.res : CORRECT array_size.res : CORRECT arraysz.res : CORRECT as_stm.res : CORRECT attradd.res : CORRECT attrs2groups.res : CORRECT b1.res : CORRECT b2.res : CORRECT bad_iso_example.res : INCORRECT:diff token: ( VS x File "tests/bad_iso_example.c", line 2, column 6, charpos = 19 around = '(', whole content = if ((x = 3)) return; File "tests/bad_iso_example.res", line 2, column 6, charpos = 19 around = 'x', whole content = if (x) return; diff (result(<) vs expected_result(>)) = @@ -1,4 +1,4 @@ int main() { - if ((x = 3)) return; + if (x) return; } bad_kfree.res : CORRECT bad_ptr_print.res : CORRECT bad_typedef.res : CORRECT badexp.res : CORRECT badpos.res : PROBLEM exn = Failure("rule starting on line 1: already tagged token:\nC code context\nFile \"tests/badpos.c\", line 5, column 30, charpos = 139\n around = 'reg_ptr', whole content = \t (int) -(((struct pt_regs *) reg_ptr)->orig_eax + 2));") badtypedef.res : CORRECT badwhen.res : CORRECT badzero.res : CORRECT befS.res : CORRECT before.res : CORRECT ben.res : CORRECT bigin.res : CORRECT bigrepl.res : CORRECT binop.res : CORRECT bitfield.res : CORRECT boolr.res : CORRECT braces.res : CORRECT branchparen.res : CORRECT break.res : CORRECT bug1.res : CORRECT bugloop.res : CORRECT bugon.res : CORRECT bus.res : CORRECT cards.res : CORRECT cast.res : CORRECT cast_iso.res : CORRECT castdecl.res : CORRECT change.res : CORRECT change_type.res : CORRECT changei.res : INCORRECT:diff token: i VS xxx File , line 1, column 15, charpos = 15 around = 'i', whole content = typedef struct i xxx; File "tests/changei.res", line 1, column 15, charpos = 15 around = 'xxx', whole content = typedef struct xxx istruct; diff (result(<) vs expected_result(>)) = @@ -1,4 +1,4 @@ -typedef struct i xxx; +typedef struct xxx istruct; int xxx (int xxx) { char xxx; com.res : CORRECT comadd.res : CORRECT comment_brace.res : CORRECT comment_brace2.res : CORRECT comments.res : CORRECT compare.res : CORRECT condexp.res : CORRECT const.res : CORRECT const1bis.res : CORRECT const_adding.res : CORRECT const_array.res : CORRECT const_implicit_iso.res : CORRECT constrem.res : CORRECT constructor.res : CORRECT constty.res : CORRECT constx.res : CORRECT cptr.res : CORRECT cr.res : CORRECT cr1a.res : CORRECT cs_check.res : CORRECT cst.res : CORRECT cst_null.res : CORRECT csw.res : CORRECT dbg.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -4,6 +4,6 @@ struct resource *pr, *r = &dev->resource[idx]; if (pr) - DBG else - pr = NULL;("PCI"); + DBG("PCI"); + else pr = NULL; } dbg1.res : INCORRECT:diff token: E VS ( File , line 5, column 2, charpos = 75 around = 'E', whole content = E = NULL;("PCI"); File "tests/dbg1.res", line 4, column 5, charpos = 72 around = '(', whole content = DBG("PCI"); diff (result(<) vs expected_result(>)) = @@ -1,6 +1,6 @@ static inline void alloc_resource(struct pci_dev *dev, int idx) { - DBG - E = NULL;("PCI"); + DBG("PCI"); + E = NULL; } dc_close.res : CORRECT debug.res : CORRECT dec.res : CORRECT decl.res : CORRECT decl2.res : CORRECT decl_space.res : CORRECT decl_split.res : INCORRECT:diff token: int VS } File "tests/decl_split.c", line 2, column 8, charpos = 27 around = 'int', whole content = int x, y; File "tests/decl_split.res", line 2, column 0, charpos = 19 around = '}', whole content = } diff (result(<) vs expected_result(>)) = @@ -1,3 +1,2 @@ int func(int i) { - int x, y; } decl_star.res : CORRECT defe.res : CORRECT define_exp.res : CORRECT define_param.res : CORRECT deftodo.res : CORRECT delete_function.res : CORRECT delp.res : CORRECT deref.res : CORRECT destroy.res : CORRECT devlink.res : CORRECT disjexpr.res : CORRECT disjexpr_ver1.res : CORRECT disjexpr_ver2.res : CORRECT disjid.res : CORRECT distribute.res : CORRECT double.res : CORRECT double_assign.res : CORRECT double_lines.res : CORRECT double_switch.res : CORRECT doublepos.res : CORRECT doubleswitch.res : CORRECT doundo.res : CORRECT dowhile.res : CORRECT dropbr.res : CORRECT dropcom.res : CORRECT dropenderr.res : CORRECT dropf.res : CORRECT dropparam.res : CORRECT eb1.res : CORRECT edots.res : CORRECT edots_ver1.res : CORRECT elsify.res : CORRECT empty.res : CORRECT end_commas.res : CORRECT endif.res : CORRECT endnl.res : CORRECT endpos.res : CORRECT enum.res : CORRECT exitc.res : CORRECT exitp.res : CORRECT exp.res : CORRECT expnest.res : CORRECT expopt.res : CORRECT expopt2.res : CORRECT expopt3.res : CORRECT expopt3_ver1.res : CORRECT expopt3_ver2.res : CORRECT extra.res : CORRECT failing_andany.res : INCORRECT:diff token: request_irq VS } File , line 4, column 8, charpos = 111 around = 'request_irq', whole content = request_irq(irq_flags); File "tests/failing_andany.res", line 4, column 0, charpos = 103 around = '}', whole content = } diff (result(<) vs expected_result(>)) = @@ -1,8 +1,6 @@ static int smc_probe1(struct net_device *dev, void __iomem *ioaddr, unsigned long irq_flags) { - request_irq(irq_flags); - register_netdev(dev); } static int smc_probe2(struct net_device *dev, void __iomem *ioaddr, fields.res : CORRECT fieldsmin.res : CORRECT find_long.res : CORRECT fix_flow_need.res : CORRECT fn_todo.res : CORRECT fnptr.res : CORRECT fnret.res : CORRECT fnty.res : CORRECT format.res : CORRECT format2.res : CORRECT formatlist.res : CORRECT fortest.res : CORRECT fortype.res : CORRECT four.res : CORRECT foura.res : CORRECT fp.res : CORRECT fsh.res : CORRECT fun.res : CORRECT func.res : CORRECT gcc_min_max.res : CORRECT getc.res : CORRECT gilles-question.res : CORRECT gotobreak.res : CORRECT hd.res : CORRECT headers.res : CORRECT hex.res : CORRECT hil1.res : CORRECT idstr.res : CORRECT if.res : CORRECT ifadd.res : CORRECT ifbr.res : CORRECT ifd.res : CORRECT ifdef1.res : CORRECT ifdef2.res : CORRECT ifdef3.res : CORRECT ifdef4.res : CORRECT ifdef5.res : CORRECT ifdef6.res : CORRECT ifdef6a.res : CORRECT ifdefmeta.res : CORRECT ifdefmeta1.res : CORRECT ifdefmeta2.res : CORRECT ifdefmeta3.res : CORRECT ifend.res : CORRECT ifgoto.res : CORRECT ifields.res : CORRECT ifif.res : CORRECT ifreturn.res : CORRECT ifreturn3.res : CORRECT ifreturn4.res : CORRECT ifreturn6.res : CORRECT ifzer.res : CORRECT ifzz.res : CORRECT inc.res : CORRECT incdir.res : INCORRECT:diff token: x VS 12 File "tests/incdir.c", line 4, column 6, charpos = 46 around = 'x', whole content = foo(x); File "tests/incdir.res", line 4, column 6, charpos = 46 around = '12', whole content = foo(12); diff (result(<) vs expected_result(>)) = @@ -1,5 +1,5 @@ #include "sub/incdir2.c" int main () { - foo(x); + foo(12); } incl.res : CORRECT inclifdef.res : CORRECT include.res : CORRECT incompatible_value.res : CORRECT incpos.res : CORRECT incpos1.res : CORRECT inherited.res : CORRECT inherited_ver1.res : CORRECT inhmet.res : CORRECT inhpos.res : CORRECT initializer.res : CORRECT initializer_many_fields.res : CORRECT inline.res : CORRECT insdef.res : CORRECT int2bool-local.res : CORRECT introbrace.res : CORRECT invert.res : CORRECT ip.res : CORRECT ip2.res : CORRECT isococci.res : CORRECT isoif.res : CORRECT isotest.res : CORRECT isotest2.res : CORRECT iterator.res : CORRECT iterprint.res : CORRECT jloop1.res : PROBLEM exn = Failure("minus: parse error: \n = File \"tests/jloop1.cocci\", line 10, column 3, charpos = 129\n around = '...>', whole content = ...>\n") julia10.res : CORRECT julia7.res : CORRECT justremove.res : CORRECT keep_comma.res : CORRECT km.res : CORRECT kmalloc.res : CORRECT kmc.res : CORRECT kr.res : CORRECT ktype.res : CORRECT ktype2.res : CORRECT labels_metastatement.res : CORRECT labels_metastatement_ver1.res : CORRECT lid.res : CORRECT line_before_last.res : CORRECT list_test.res : CORRECT local.res : CORRECT localglobal.res : CORRECT localid.res : CORRECT log.res : CORRECT longconst.res : CORRECT longline2.res : CORRECT longlong.res : CORRECT longlongint.res : CORRECT loop.res : CORRECT lvalue.res : CORRECT macro.res : CORRECT macro_int16.res : CORRECT match_init.res : CORRECT match_no_meta.res : CORRECT max.res : CORRECT mdec.res : CORRECT mdecl.res : CORRECT mdeclp.res : INCORRECT:not same number of entities (func, decl, ...) diff (result(<) vs expected_result(>)) = @@ -1,2 +1,2 @@ -int one() { return 1; } + int two() { return 1; } mdeclp2.res : INCORRECT:not same number of entities (func, decl, ...) diff (result(<) vs expected_result(>)) = @@ -1,2 +1,2 @@ -int one() { return 1; } + int two() { return 1; } memory.res : CORRECT metahex.res : INCORRECT:diff token: f VS } File "tests/metahex.c", line 2, column 2, charpos = 15 around = 'f', whole content = f(3); File "tests/metahex.res", line 2, column 0, charpos = 13 around = '}', whole content = } diff (result(<) vs expected_result(>)) = @@ -1,4 +1,2 @@ int main() { - f(3); - g(0x03); } metaline.res : CORRECT metaops.res : CORRECT metaops0.res : CORRECT metaruleelem.res : CORRECT metastatement2.res : CORRECT metastatement_for.res : CORRECT metastatement_if.res : CORRECT mincom.res : CORRECT minenum.res : CORRECT minenum1.res : CORRECT minfn.res : CORRECT mini_null_ref.res : CORRECT miniswap.res : CORRECT minstruct.res : CORRECT minusdots.res : CORRECT minusdots_ver1.res : CORRECT multi_func1.res : PROBLEM exn = Failure("minus: parse error: \n = File \"tests/multi_func1.cocci\", line 12, column 2, charpos = 102\n around = 'fn2', whole content = fn2(...) {\n") multichars.res : CORRECT multidec.res : CORRECT multidecl3.res : CORRECT multipath.res : CORRECT multiplus.res : CORRECT multiremove.res : CORRECT multistruct.res : CORRECT multitype.res : CORRECT multitypedef.res : CORRECT multivars.res : CORRECT na.res : CORRECT nameless.res : CORRECT nest.res : CORRECT nestone.res : CORRECT nestseq.res : CORRECT neststruct.res : CORRECT nl.res : CORRECT noa.res : CORRECT nocast.res : CORRECT noret.res : CORRECT not.res : CORRECT notest.res : CORRECT noty.res : CORRECT noty2.res : CORRECT null_bool.res : INCORRECT:diff token: ) VS != File , line 2, column 8, charpos = 22 around = ')', whole content = if (12) return; File "tests/null_bool.res", line 2, column 9, charpos = 23 around = '!=', whole content = if (12 != NULL) return; diff (result(<) vs expected_result(>)) = @@ -1,6 +1,6 @@ int main () { - if (12) return; - if (a && 12 && b) return; + if (12 != NULL) return; + if (a && 12 != NULL && b) return; if (12) return; if (a && 12 && b) return; x = x + 20; null_type.res : CORRECT oddifdef.res : INCORRECT:diff token: #else VS x File , line 10, column 0, charpos = 114 around = '#else', whole content = #else File "tests/oddifdef.res", line 10, column 2, charpos = 116 around = 'x', whole content = x = 0; diff (result(<) vs expected_result(>)) = @@ -7,7 +7,9 @@ a = 5; #ifdef FOO + x = 0; #else + x = 0; #endif } @@ -20,7 +22,9 @@ a = 3; #ifdef FOO + x = 0; #else + x = 0; #endif } @@ -33,6 +37,8 @@ #endif #ifdef FOO + x = 0; #else + x = 0; #endif } of.res : CORRECT oneline.res : CORRECT opt.res : CORRECT optional_qualifier.res : CORRECT optional_storage.res : CORRECT orexp.res : CORRECT overshoot.res : CORRECT p9.res : CORRECT pa.res : CORRECT param.res : CORRECT param_end.res : CORRECT param_to_exp.res : CORRECT param_ver1.res : CORRECT parameters_dots.res : CORRECT partial.res : CORRECT pb_distribute_type.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -10,6 +10,6 @@ } int foo() { - int[45] *x; + int (*x)[45]; return 0; } pb_distribute_type2.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -1,5 +1,5 @@ int foo() { - int* x; + int *x; return 0; } @@ -10,6 +10,6 @@ } int foo() { - int x[45]*; + int (*x)[45]; return 0; } pb_distribute_type3.res : PROBLEM exn = Failure("line 7: index 53 53 already used\n") pb_distribute_type4.res : CORRECT pb_params_iso.res : CORRECT pb_parsing_macro.res : CORRECT pb_tag_symbols.res : CORRECT pcim.res : CORRECT pmac.res : CORRECT posiso.res : CORRECT positionc.res : CORRECT post.res : CORRECT pragmatest.res : CORRECT pragmatest1.res : CORRECT print_return.res : CORRECT proto.res : CORRECT proto2.res : CORRECT proto_ver1.res : CORRECT proto_ver2.res : CORRECT protoassert.res : CORRECT protox.res : CORRECT ptrar.res : CORRECT rcu3.res : CORRECT regexp.res : CORRECT regexp2.res : CORRECT regexp3.res : CORRECT rem1.res : CORRECT rem2.res : CORRECT remaft.res : CORRECT remove_call.res : CORRECT remparam.res : CORRECT rems.res : CORRECT rems1.res : CORRECT remstruct.res : CORRECT replace_typedef.res : CORRECT reserved.res : CORRECT retest.res : CORRECT retmacro.res : CORRECT rets.res : CORRECT return.res : CORRECT return_implicit.res : CORRECT retval.res : CORRECT retval2.res : CORRECT rptr.res : CORRECT same_expr.res : CORRECT scope_problem.res : INCORRECT:diff token: } VS a File , line 4, column 2, charpos = 42 around = '}', whole content = } File "tests/scope_problem.res", line 4, column 4, charpos = 44 around = 'a', whole content = a = 2; diff (result(<) vs expected_result(>)) = @@ -1,7 +1,6 @@ void main(int i) { if(1) { int a; + a = 2; } - - } serio.res : INCORRECT:diff token: init_MUTEX VS mutex_init File "tests/serio.c", line 7, column 1, charpos = 130 around = 'init_MUTEX', whole content = init_MUTEX(&serio->drv_sem); File "tests/serio.res", line 7, column 1, charpos = 130 around = 'mutex_init', whole content = mutex_init(&serio->new_lock); diff (result(<) vs expected_result(>)) = @@ -4,5 +4,5 @@ static void serio_init_port(struct serio *serio) { - init_MUTEX(&serio->drv_sem); + mutex_init(&serio->new_lock); } shared_brace.res : CORRECT signed.res : CORRECT sis.res : CORRECT sizeof.res : CORRECT sizeof_julia.res : CORRECT sizeptr.res : CORRECT sizestar.res : CORRECT skip.res : CORRECT sl2.res : CORRECT slen.res : CORRECT smallfn.res : CORRECT sp.res : CORRECT spaces.res : CORRECT spacing.res : CORRECT spl.res : CORRECT starprint.res : CORRECT static.res : CORRECT stm1.res : CORRECT stm10.res : CORRECT stm10_ver1.res : CORRECT stm2.res : CORRECT stm3.res : CORRECT stm4.res : CORRECT stm5.res : CORRECT stm6.res : CORRECT stm7.res : CORRECT stm8.res : CORRECT stmt.res : CORRECT str_init.res : CORRECT strangeorder.res : CORRECT strid.res : CORRECT strid2.res : CORRECT string.res : CORRECT struct.res : CORRECT struct_metavar.res : CORRECT struct_typedef.res : CORRECT structfoo.res : CORRECT substruct.res : CORRECT sw.res : CORRECT swap3.res : CORRECT switch.res : CORRECT switchdecl.res : CORRECT symbol.res : CORRECT td.res : CORRECT tdnl.res : CORRECT tern.res : CORRECT test0.res : CORRECT test1.res : CORRECT test10.res : CORRECT test10_ver1.res : CORRECT test11.res : CORRECT test11_ver1.res : CORRECT test12.res : CORRECT test2.res : CORRECT test3.res : CORRECT test4.res : CORRECT test5.res : CORRECT test5_ver1.res : CORRECT test6.res : CORRECT test7.res : CORRECT test8.res : CORRECT test9.res : CORRECT test_s.res : CORRECT test_unsigned_meta.res : CORRECT testand.res : CORRECT testand2.res : CORRECT three_types.res : CORRECT threea.res : CORRECT top.res : CORRECT topdec.res : CORRECT topdec_ver1.res : CORRECT topdec_ver2.res : CORRECT toplevel_macrostmt.res : CORRECT toplevel_struct.res : CORRECT tup.res : CORRECT twomatch.res : CORRECT twoproto.res : CORRECT ty.res : CORRECT ty1.res : CORRECT ty_tyexp.res : CORRECT tydisj.res : CORRECT tyex.res : CORRECT type.res : CORRECT type1.res : CORRECT type_annotated.res : CORRECT type_ver1.res : CORRECT type_ver2.res : INCORRECT:PB parsing only in generated-file diff (result(<) vs expected_result(>)) = @@ -1,5 +1,5 @@ int foo() { - int[10] *x; + int *x[10]; return 0; } typedef.res : CORRECT typedef3.res : INCORRECT:diff token: link VS p_dev File , line 7, column 29, charpos = 137 around = 'link', whole content = unsigned int iobase = info->link.io.BasePort1; File "tests/typedef3.res", line 7, column 29, charpos = 137 around = 'p_dev', whole content = unsigned int iobase = info->p_dev->io.BasePort1; diff (result(<) vs expected_result(>)) = @@ -4,7 +4,7 @@ static void should_work(foo *info) { - unsigned int iobase = info->link.io.BasePort1; + unsigned int iobase = info->p_dev->io.BasePort1; } static void does_work(struct bluecard_info_t *info) typedef_double.res : CORRECT typeof.res : CORRECT unelse.res : CORRECT unfree.res : CORRECT unl.res : CORRECT useless_cast.res : CORRECT varargs.res : CORRECT varargs2.res : CORRECT varargs3.res : CORRECT video1bis.res : CORRECT void.res : CORRECT vpos.res : CORRECT whitespace.res : CORRECT wierd_argument.res : CORRECT wierdinit.res : seems incorrect, but only because of code that was not parsablediff token: dev_link_t VS struct File "tests/wierdinit.c", line 4, column 1, charpos = 27 around = 'dev_link_t', whole content = dev_link_t *link; File "tests/wierdinit.res", line 4, column 1, charpos = 27 around = 'struct', whole content = struct pcmcia_device *link; wrongcheck.res : CORRECT ws2.res : CORRECT xfield.res : CORRECT y2.res : CORRECT zero.res : CORRECT -------------------------------- regression testing information -------------------------------- regression file: tests/SCORE_expected.sexp Great: a test file now works: endpos.res Great: a test file now works: exitc.res Great: a test file now works: exitp.res Great: a test file now works: extra.res Great: a test file now works: format2.res Great: a test file now works: incpos.res Great: a test file now works: incpos1.res Great: a test file now works: mdecl.res Semipb: still error but not same error : mdeclp.res Old error: PROBLEM exn = Yes_prepare_ocamlcocci.CompileFailure("/tmp/ocaml_cocci_e7931b.ml") New error: INCORRECT:not same number of entities (func, decl, ...) diff (result(<) vs expected_result(>)) = @@ -1,2 +1,2 @@ -int one() { return 1; } + int two() { return 1; } Semipb: still error but not same error : mdeclp2.res Old error: PROBLEM exn = Yes_prepare_ocamlcocci.CompileFailure("/tmp/ocaml_cocci_dfee93.ml") New error: INCORRECT:not same number of entities (func, decl, ...) diff (result(<) vs expected_result(>)) = @@ -1,2 +1,2 @@ -int one() { return 1; } + int two() { return 1; } Great: a test file now works: p9.res Great: a test file now works: slen.res Great: a test file now works: stm1.res Great: a test file now works: stm7.res -------------------------------- total score -------------------------------- good = 457/480 Current score is greater than expected :) (was expecting 445 but got 457) keeping first hdr 1 dropping first hdr dropping first hdr dropping second hdr dropping second hdr dropping first hdr dropping first hdr keeping second hdr 1 because of 1 dropping second hdr make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' fakeroot debian/rules binary-arch dh binary-arch --with ocaml,python2 --parallel dh: Compatibility levels before 9 are deprecated (level 8 in use) dh_testroot -a -O--parallel dh_prep -a -O--parallel dh_installdirs -a -O--parallel dh_installdirs: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules override_dh_auto_install-arch make[1]: Entering directory '/<>' /usr/bin/make DESTDIR=/<>/debian/coccinelle install install-bash make[2]: Entering directory '/<>' /bin/mkdir -p /<>/debian/coccinelle/usr/bin /bin/mkdir -p /<>/debian/coccinelle/usr/lib/coccinelle /bin/mkdir -p /<>/debian/coccinelle/usr/lib/coccinelle/ocaml /usr/bin/install -c -m 644 standard.h /<>/debian/coccinelle/usr/lib/coccinelle /usr/bin/install -c -m 644 standard.iso /<>/debian/coccinelle/usr/lib/coccinelle /usr/bin/install -c -m 644 ocaml/*.cmi /<>/debian/coccinelle/usr/lib/coccinelle/ocaml/ Installing manuals in: /<>/debian/coccinelle/usr/share/man /bin/mkdir -p /<>/debian/coccinelle/usr/share/man/man1 /bin/mkdir -p /<>/debian/coccinelle/usr/share/man/man3 /usr/bin/install -c -m 644 docs/spatch.1 /<>/debian/coccinelle/usr/share/man/man1/ /usr/bin/install -c -m 644 docs/pycocci.1 /<>/debian/coccinelle/usr/share/man/man1/ /usr/bin/install -c -m 644 docs/Coccilib.3cocci /<>/debian/coccinelle/usr/share/man/man3/ /bin/mkdir -p /<>/debian/coccinelle/usr/lib/coccinelle Installing python support in: /<>/debian/coccinelle/usr/lib/coccinelle/python /bin/mkdir -p /<>/debian/coccinelle/usr/lib/coccinelle/python/coccilib/coccigui /usr/bin/install -c -m 644 python/coccilib/*.py \ /<>/debian/coccinelle/usr/lib/coccinelle/python/coccilib /usr/bin/install -c -m 644 python/coccilib/coccigui/*.py \ /<>/debian/coccinelle/usr/lib/coccinelle/python/coccilib/coccigui /usr/bin/install -c -m 644 python/coccilib/coccigui/pygui.glade \ /<>/debian/coccinelle/usr/lib/coccinelle/python/coccilib/coccigui /usr/bin/install -c -m 644 python/coccilib/coccigui/pygui.gladep \ /<>/debian/coccinelle/usr/lib/coccinelle/python/coccilib/coccigui rm -f /<>/debian/coccinelle/usr/lib/coccinelle/spatch rm -f /<>/debian/coccinelle/usr/lib/coccinelle/spatch.opt rm -f /<>/debian/coccinelle/usr/bin/pycocci /usr/bin/install -c -m 755 tools/pycocci /<>/debian/coccinelle/usr/bin make[3]: Entering directory '/<>' /usr/bin/install -c -m 755 scripts/spatch /<>/debian/coccinelle/usr/bin/spatch make[3]: Leaving directory '/<>' make[3]: Entering directory '/<>' /usr/bin/install -c -m 755 spatch.opt /<>/debian/coccinelle/usr/lib/coccinelle /usr/bin/install -c -m 755 scripts/spatch.opt /<>/debian/coccinelle/usr/bin/spatch.opt make[3]: Leaving directory '/<>' You can also install spatch by copying the program spatch (available in this directory) anywhere you want and give it the right options to find its configuration files. Installing bash completion in: /<>/debian/coccinelle/usr/share/bash-completion/completions /bin/mkdir -p /<>/debian/coccinelle/usr/share/bash-completion/completions /usr/bin/install -c -m 644 scripts/spatch.bash_completion \ /<>/debian/coccinelle/usr/share/bash-completion/completions/spatch make[2]: Leaving directory '/<>' # install the wrapper script, i dont like upstreams one rm /<>/debian/coccinelle/usr/bin/spatch* install /<>/debian/spatch /<>/debian/coccinelle/usr/bin/ if test -f /<>/debian/coccinelle/usr/lib/coccinelle/spatch.opt; then \ mv /<>/debian/coccinelle/usr/lib/coccinelle/spatch.opt \ /<>/debian/coccinelle/usr/lib/coccinelle/spatch; \ fi # Vim files install -d /<>/debian/coccinelle/usr/share/vim/addons/ftdetect /<>/debian/coccinelle/usr/share/vim/addons/syntax cp /<>/editors/vim/ftdetect/cocci.vim /<>/debian/coccinelle/usr/share/vim/addons/ftdetect/ cp /<>/editors/vim/syntax/cocci.vim /<>/debian/coccinelle/usr/share/vim/addons/syntax/ install -d /<>/debian/coccinelle/usr/share/vim/registry cp /<>/debian/coccinelle.yaml /<>/debian/coccinelle/usr/share/vim/registry/ # Emacs files cp /<>/editors/emacs/cocci.el /<>/debian/coccinelle/usr/share/emacs/site-lisp/ make[1]: Leaving directory '/<>' dh_ocamldoc -a -O--parallel dh_installdocs -a -O--parallel dh_installdocs: Compatibility levels before 9 are deprecated (level 8 in use) dh_installchangelogs -a -O--parallel dh_installexamples -a -O--parallel dh_installexamples: Compatibility levels before 9 are deprecated (level 8 in use) dh_installman -a -O--parallel dh_installman: Compatibility levels before 9 are deprecated (level 8 in use) dh_installemacsen -a -O--parallel dh_python2 -a -O--parallel I: dh_python2 tools:100: replacing shebang in debian/coccinelle/usr/bin/pycocci dh_perl -a -O--parallel dh_link -a -O--parallel dh_strip_nondeterminism -a -O--parallel debian/rules override_dh_compress make[1]: Entering directory '/<>' dh_compress -X.pdf -X.cocci -X.c make[1]: Leaving directory '/<>' dh_fixperms -a -O--parallel dh_missing -a -O--parallel dh_strip -a -O--parallel dh_strip: Compatibility levels before 9 are deprecated (level 8 in use) dh_makeshlibs -a -O--parallel dh_shlibdeps -a -O--parallel dh_shlibdeps: Compatibility levels before 9 are deprecated (level 8 in use) dh_installdeb -a -O--parallel dh_installdeb: Compatibility levels before 9 are deprecated (level 8 in use) dh_ocaml -a -O--parallel W: coccinelle doesn't resolve dependency on unit Parsing_stat W: coccinelle doesn't resolve dependency on unit Seti W: coccinelle doesn't resolve dependency on unit Ograph_extended W: coccinelle doesn't resolve dependency on unit Externalanalysis W: coccinelle doesn't resolve dependency on unit Flag_parsing_c W: coccinelle doesn't resolve dependency on unit Ocollection W: coccinelle doesn't resolve dependency on unit Cpp_token_c W: coccinelle doesn't resolve dependency on unit Oassoc W: coccinelle doesn't resolve dependency on unit Objet W: coccinelle doesn't resolve dependency on unit Lexer_parser W: coccinelle doesn't resolve dependency on unit Type_annoter_c W: coccinelle doesn't resolve dependency on unit Token_annot W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit SetPt W: coccinelle doesn't resolve dependency on unit Dumper W: coccinelle doesn't resolve dependency on unit Regexp_pcre W: coccinelle doesn't resolve dependency on unit Oset W: coccinelle doesn't resolve dependency on unit Setb W: coccinelle doesn't resolve dependency on unit Token_c W: coccinelle doesn't resolve dependency on unit Commands W: coccinelle doesn't resolve dependency on unit Token_views_c dh_gencontrol -a -O--parallel dh_md5sums -a -O--parallel dh_builddeb -a -O--parallel INFO: pkgstriptranslations version 131 INFO: pkgstriptranslations version 131 pkgstriptranslations: processing coccinelle (in debian/coccinelle); do_strip: , oemstrip: pkgstriptranslations: processing coccinelle-dbgsym (in debian/.debhelper/coccinelle/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/coccinelle/DEBIAN/control, package coccinelle, directory debian/coccinelle pkgstripfiles: processing control file: debian/.debhelper/coccinelle/dbgsym-root/DEBIAN/control, package coccinelle-dbgsym, directory debian/.debhelper/coccinelle/dbgsym-root pkgstripfiles: Running PNG optimization (using 4 cpus) for package coccinelle-dbgsym ... pkgstripfiles: Truncating usr/share/doc/coccinelle/changelog.Debian.gz to topmost ten records pkgstripfiles: No PNG files. dpkg-deb: building package 'coccinelle-dbgsym' in 'debian/.debhelper/scratch-space/build-coccinelle/coccinelle-dbgsym_1.0.4.deb-3build4_i386.deb'. pkgstripfiles: Running PNG optimization (using 4 cpus) for package coccinelle ... pkgstripfiles: No PNG files. dpkg-deb: building package 'coccinelle' in '../coccinelle_1.0.4.deb-3build4_i386.deb'. Renaming coccinelle-dbgsym_1.0.4.deb-3build4_i386.deb to coccinelle-dbgsym_1.0.4.deb-3build4_i386.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../coccinelle_1.0.4.deb-3build4_i386.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build coccinelle-1.0.4.deb dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20171028-0951 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ coccinelle_1.0.4.deb-3build4_i386.changes: ------------------------------------------ Format: 1.8 Date: Sat, 28 Oct 2017 11:46:06 +0200 Source: coccinelle Binary: coccinelle coccinelle-doc Architecture: i386 Version: 1.0.4.deb-3build4 Distribution: bionic-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Gianfranco Costamagna Description: coccinelle - semantic patching tool for C coccinelle-doc - documentation for coccinelle Changes: coccinelle (1.0.4.deb-3build4) bionic; urgency=medium . * Rebuild against new OCAML ABIs. Checksums-Sha1: 9ff8aadb180b4212373ed59c8c271a3c0dee1ac6 323044 coccinelle-dbgsym_1.0.4.deb-3build4_i386.ddeb f6292ce3c0bfd04e80ca5d8b0992923649b33398 10740 coccinelle_1.0.4.deb-3build4_i386.buildinfo 2f29405c599c112637281a7fab1fd1f8f7551c41 2016020 coccinelle_1.0.4.deb-3build4_i386.deb Checksums-Sha256: 10642777cc03d154083bfab071527797d6b55895a70510b041925431aee40653 323044 coccinelle-dbgsym_1.0.4.deb-3build4_i386.ddeb 526c6fdb223d6938c074ccc00f258ea02c2413f9b7cd6233c318a47a56b9f4d7 10740 coccinelle_1.0.4.deb-3build4_i386.buildinfo d119c8d21cbbc94ce72319a680b15f0c556adc46c0ae4de217d1cb342bc7ee74 2016020 coccinelle_1.0.4.deb-3build4_i386.deb Files: ba1688ff54ad7e74a4c8c27998629b89 323044 debug optional coccinelle-dbgsym_1.0.4.deb-3build4_i386.ddeb 1e465b56312391324fca5ccacdb4a51c 10740 devel optional coccinelle_1.0.4.deb-3build4_i386.buildinfo 9549e519c292555d1bd1538694a4fd4a 2016020 devel optional coccinelle_1.0.4.deb-3build4_i386.deb Original-Maintainer: Debian OCaml Maintainers +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ coccinelle_1.0.4.deb-3build4_i386.deb ------------------------------------- new debian package, version 2.0. size 2016020 bytes: control archive=2744 bytes. 40 bytes, 1 lines conffiles 914 bytes, 17 lines control 4293 bytes, 57 lines md5sums 353 bytes, 12 lines * postinst #!/bin/sh 191 bytes, 5 lines * postrm #!/bin/sh 191 bytes, 5 lines * preinst #!/bin/sh 431 bytes, 17 lines * prerm #!/bin/sh Package: coccinelle Version: 1.0.4.deb-3build4 Architecture: i386 Maintainer: Ubuntu Developers Installed-Size: 8891 Pre-Depends: dpkg (>= 1.17.14) Depends: libc6 (>= 2.17), libpcre3, libpython2.7 (>= 2.7), libpcre-ocaml-jd8d7, ocaml-base-nox-4.05.0, python:any (>= 2.7.5-5~), python-gobject-2, python-gtk2, python-glade2, ocaml-findlib, libpycaml-ocaml, libparmap-ocaml Suggests: vim-addon-manager, coccinelle-doc Section: devel Priority: optional Homepage: http://coccinelle.lip6.fr Description: semantic patching tool for C Coccinelle is a program matching and transformation tool for C. The programmer describes the code to match and the transformation to perform as a semantic patch, which looks like a standard patch, but can transform multiple files at any number of code sites. Original-Maintainer: Debian OCaml Maintainers drwxr-xr-x root/root 0 2017-10-28 09:46 ./ drwxr-xr-x root/root 0 2017-10-28 09:46 ./etc/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./etc/emacs/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./etc/emacs/site-start.d/ -rw-r--r-- root/root 256 2016-05-16 20:39 ./etc/emacs/site-start.d/50coccinelle.el drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/bin/ -rwxr-xr-x root/root 24340 2017-10-28 09:46 ./usr/bin/pycocci -rwxr-xr-x root/root 117 2017-10-28 09:46 ./usr/bin/spatch drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/lib/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/lib/coccinelle/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/ -rw-r--r-- root/root 34461 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/ast0_cocci.cmi -rw-r--r-- root/root 30762 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/ast_c.cmi -rw-r--r-- root/root 39184 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/ast_cocci.cmi -rw-r--r-- root/root 8652 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/coccilib.cmi -rw-r--r-- root/root 92521 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/common.cmi -rw-r--r-- root/root 618 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/config.cmi -rw-r--r-- root/root 2306 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/exposed_modules.cmi -rw-r--r-- root/root 2078 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/flag.cmi -rw-r--r-- root/root 1384 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/iteration.cmi -rw-r--r-- root/root 4977 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/lexer_c.cmi -rw-r--r-- root/root 12925 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/lib_parsing_c.cmi -rw-r--r-- root/root 919 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/ocamlcocci_aux.cmi -rw-r--r-- root/root 4753 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/parse_c.cmi -rw-r--r-- root/root 11311 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/parser_c.cmi -rw-r--r-- root/root 935 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/prepare_ocamlcocci.cmi -rw-r--r-- root/root 8944 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/pretty_print_c.cmi -rw-r--r-- root/root 866 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/regexp.cmi -rw-r--r-- root/root 1195 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/run_ocamlcocci.cmi -rw-r--r-- root/root 2284 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/type_cocci.cmi -rw-r--r-- root/root 19106 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/visitor_c.cmi -rw-r--r-- root/root 9258 2017-10-28 09:46 ./usr/lib/coccinelle/ocaml/yes_prepare_ocamlcocci.cmi drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/lib/coccinelle/python/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/ -rw-r--r-- root/root 24 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/__init__.py drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/ -rw-r--r-- root/root 24 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/__init__.py -rw-r--r-- root/root 4613 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/coccigui.py -rw-r--r-- root/root 599 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/pycoccimodel.py -rw-r--r-- root/root 4953 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/pygui.glade -rw-r--r-- root/root 271 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/pygui.gladep -rw-r--r-- root/root 9169 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/vim.py -rw-r--r-- root/root 27183 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/vimcom.py -rw-r--r-- root/root 9799 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/vimeditor.py -rw-r--r-- root/root 4364 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/coccigui/vimembed.py -rw-r--r-- root/root 842 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/elems.py -rw-r--r-- root/root 1116 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/org.py -rw-r--r-- root/root 2949 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/output.py -rw-r--r-- root/root 162 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/report.py -rw-r--r-- root/root 557 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/trac.py -rw-r--r-- root/root 9554 2017-10-28 09:46 ./usr/lib/coccinelle/python/coccilib/xml_firehose.py -rwxr-xr-x root/root 8562580 2017-10-28 09:46 ./usr/lib/coccinelle/spatch -rw-r--r-- root/root 22668 2017-10-28 09:46 ./usr/lib/coccinelle/standard.h -rw-r--r-- root/root 15159 2017-10-28 09:46 ./usr/lib/coccinelle/standard.iso drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/bash-completion/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/bash-completion/completions/ -rw-r--r-- root/root 3211 2017-10-28 09:46 ./usr/share/bash-completion/completions/spatch drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/doc/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/doc/coccinelle/ -rw-r--r-- root/root 98 2016-05-16 20:39 ./usr/share/doc/coccinelle/TODO.Debian -rw-r--r-- root/root 1045 2015-10-28 14:07 ./usr/share/doc/coccinelle/authors.txt -rw-r--r-- root/root 1128 2017-10-28 09:46 ./usr/share/doc/coccinelle/changelog.Debian.gz -rw-r--r-- root/root 5708 2016-05-16 20:39 ./usr/share/doc/coccinelle/copyright -rw-r--r-- root/root 500 2015-10-28 14:07 ./usr/share/doc/coccinelle/credits.txt -rw-r--r-- root/root 3535 2015-10-28 14:07 ./usr/share/doc/coccinelle/readme.txt drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/emacs/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/emacs/site-lisp/ -rw-r--r-- root/root 11218 2017-10-28 09:46 ./usr/share/emacs/site-lisp/cocci.el drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/man/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/man/man1/ -rw-r--r-- root/root 3792 2017-10-28 09:46 ./usr/share/man/man1/pycocci.1.gz -rw-r--r-- root/root 5281 2017-10-28 09:46 ./usr/share/man/man1/spatch.1.gz drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/man/man3/ -rw-r--r-- root/root 2069 2017-10-28 09:46 ./usr/share/man/man3/Coccilib.3cocci.gz drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/python/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/python/runtime.d/ -rwxr-xr-x root/root 139 2017-10-28 09:46 ./usr/share/python/runtime.d/coccinelle.rtupdate drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/vim/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/vim/addons/ drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/vim/addons/ftdetect/ -rw-r--r-- root/root 367 2017-10-28 09:46 ./usr/share/vim/addons/ftdetect/cocci.vim drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/vim/addons/syntax/ -rw-r--r-- root/root 1248 2017-10-28 09:46 ./usr/share/vim/addons/syntax/cocci.vim drwxr-xr-x root/root 0 2017-10-28 09:46 ./usr/share/vim/registry/ -rw-r--r-- root/root 144 2017-10-28 09:46 ./usr/share/vim/registry/coccinelle.yaml +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: i386 Build-Space: 63452 Build-Time: 56 Distribution: bionic-proposed Host Architecture: i386 Install-Time: 128 Job: coccinelle_1.0.4.deb-3build4.dsc Machine Architecture: amd64 Package: coccinelle Package-Time: 185 Source-Version: 1.0.4.deb-3build4 Space: 63452 Status: successful Version: 1.0.4.deb-3build4 -------------------------------------------------------------------------------- Finished at 20171028-0951 Build needed 00:03:05, 63452k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=bionic --arch=i386 PACKAGEBUILD-13635894 Scanning for processes to kill in build PACKAGEBUILD-13635894 RUN: /usr/share/launchpad-buildd/slavebin/in-target umount-chroot --backend=chroot --series=bionic --arch=i386 PACKAGEBUILD-13635894 Stopping target for build PACKAGEBUILD-13635894 RUN: /usr/share/launchpad-buildd/slavebin/in-target remove-build --backend=chroot --series=bionic --arch=i386 PACKAGEBUILD-13635894 Removing build PACKAGEBUILD-13635894