https://launchpad.net/ubuntu/+source/coccinelle/1.0.4.deb-4/+build/16242190 RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux lgw01-amd64-019 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC 2018 x86_64 Buildd toolchain package versions: launchpad-buildd_165 python-lpbuildd_165 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.6 dpkg-dev_1.18.4ubuntu1.5 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 6 Jan 23:08:39 ntpdate[1810]: adjust time server 10.211.37.1 offset -0.014456 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-16242190 /home/buildd/filecache-default/1b8bd95dfc080fb8062b439d66609df4d6cce84f Creating target for build PACKAGEBUILD-16242190 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-16242190 Starting target for build PACKAGEBUILD-16242190 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-16242190 'deb http://ftpmaster.internal/ubuntu disco main universe' 'deb http://ftpmaster.internal/ubuntu disco-security main universe' 'deb http://ftpmaster.internal/ubuntu disco-updates main universe' 'deb http://ftpmaster.internal/ubuntu disco-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-16242190 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-16242190 Updating target for build PACKAGEBUILD-16242190 Get:1 http://ftpmaster.internal/ubuntu disco InRelease [243 kB] Get:2 http://ftpmaster.internal/ubuntu disco-security InRelease [65.4 kB] Get:3 http://ftpmaster.internal/ubuntu disco-updates InRelease [65.4 kB] Get:4 http://ftpmaster.internal/ubuntu disco-proposed InRelease [93.2 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main i386 Packages [994 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main Translation-en [514 kB] Get:7 http://ftpmaster.internal/ubuntu disco/universe i386 Packages [8982 kB] Get:8 http://ftpmaster.internal/ubuntu disco/universe Translation-en [5180 kB] Get:9 http://ftpmaster.internal/ubuntu disco-proposed/main i386 Packages [106 kB] Get:10 http://ftpmaster.internal/ubuntu disco-proposed/main Translation-en [48.1 kB] Get:11 http://ftpmaster.internal/ubuntu disco-proposed/universe i386 Packages [430 kB] Get:12 http://ftpmaster.internal/ubuntu disco-proposed/universe Translation-en [229 kB] Fetched 17.0 MB in 7s (2558 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt binutils binutils-common binutils-i686-linux-gnu cpp-8 dash dpkg dpkg-dev e2fslibs e2fsprogs g++-8 gcc-8 gcc-8-base init init-system-helpers libapt-pkg5.0 libasan5 libassuan0 libatomic1 libbinutils libcc1-0 libcom-err2 libcomerr2 libdpkg-perl libext2fs2 libgcc-8-dev libgcc1 libgnutls30 libgomp1 libgpg-error0 libitm1 libmpx2 libpng16-16 libquadmath0 libsemanage-common libsemanage1 libsqlite3-0 libss2 libstdc++-8-dev libstdc++6 libubsan1 libzstd1 linux-libc-dev sed tar tzdata 46 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 40.8 MB of archives. After this operation, 160 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu disco-proposed/main i386 tar i386 1.30+dfsg-4 [264 kB] Get:2 http://ftpmaster.internal/ubuntu disco/main i386 dpkg i386 1.19.2ubuntu2 [1124 kB] Get:3 http://ftpmaster.internal/ubuntu disco-proposed/main i386 dash i386 0.5.10.2-4 [90.9 kB] Get:4 http://ftpmaster.internal/ubuntu disco/main i386 sed i386 4.7-1 [193 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main i386 init-system-helpers all 1.56+nmu1 [38.2 kB] Get:6 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libgnutls30 i386 3.6.5-2ubuntu1 [770 kB] Get:7 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libubsan1 i386 8.2.0-13ubuntu1 [138 kB] Get:8 http://ftpmaster.internal/ubuntu disco-proposed/main i386 gcc-8-base i386 8.2.0-13ubuntu1 [18.6 kB] Get:9 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libgcc1 i386 1:8.2.0-13ubuntu1 [48.1 kB] Get:10 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libgomp1 i386 8.2.0-13ubuntu1 [80.7 kB] Get:11 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libitm1 i386 8.2.0-13ubuntu1 [30.8 kB] Get:12 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libatomic1 i386 8.2.0-13ubuntu1 [9608 B] Get:13 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libasan5 i386 8.2.0-13ubuntu1 [375 kB] Get:14 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libmpx2 i386 8.2.0-13ubuntu1 [13.0 kB] Get:15 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libquadmath0 i386 8.2.0-13ubuntu1 [208 kB] Get:16 http://ftpmaster.internal/ubuntu disco-proposed/main i386 cpp-8 i386 8.2.0-13ubuntu1 [7542 kB] Get:17 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libcc1-0 i386 8.2.0-13ubuntu1 [41.9 kB] Get:18 http://ftpmaster.internal/ubuntu disco-proposed/main i386 g++-8 i386 8.2.0-13ubuntu1 [8439 kB] Get:19 http://ftpmaster.internal/ubuntu disco-proposed/main i386 gcc-8 i386 8.2.0-13ubuntu1 [8331 kB] Get:20 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libgcc-8-dev i386 8.2.0-13ubuntu1 [2300 kB] Get:21 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libstdc++-8-dev i386 8.2.0-13ubuntu1 [1587 kB] Get:22 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libstdc++6 i386 8.2.0-13ubuntu1 [429 kB] Get:23 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libbinutils i386 2.31.1-11ubuntu1 [519 kB] Get:24 http://ftpmaster.internal/ubuntu disco-proposed/main i386 binutils-common i386 2.31.1-11ubuntu1 [194 kB] Get:25 http://ftpmaster.internal/ubuntu disco-proposed/main i386 binutils i386 2.31.1-11ubuntu1 [3392 B] Get:26 http://ftpmaster.internal/ubuntu disco-proposed/main i386 binutils-i686-linux-gnu i386 2.31.1-11ubuntu1 [1988 kB] Get:27 http://ftpmaster.internal/ubuntu disco/main i386 libzstd1 i386 1.3.8+dfsg-3 [225 kB] Get:28 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libapt-pkg5.0 i386 1.8.0~alpha3 [891 kB] Get:29 http://ftpmaster.internal/ubuntu disco-proposed/main i386 apt i386 1.8.0~alpha3 [1191 kB] Get:30 http://ftpmaster.internal/ubuntu disco/main i386 libext2fs2 i386 1.44.5-1 [186 kB] Get:31 http://ftpmaster.internal/ubuntu disco/main i386 e2fsprogs i386 1.44.5-1 [550 kB] Get:32 http://ftpmaster.internal/ubuntu disco/main i386 init i386 1.56+nmu1 [6076 B] Get:33 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libgpg-error0 i386 1.33-3 [62.0 kB] Get:34 http://ftpmaster.internal/ubuntu disco/main i386 libsemanage-common all 2.8-2 [7016 B] Get:35 http://ftpmaster.internal/ubuntu disco/main i386 libsemanage1 i386 2.8-2 [94.2 kB] Get:36 http://ftpmaster.internal/ubuntu disco/main i386 libcom-err2 i386 1.44.5-1 [9708 B] Get:37 http://ftpmaster.internal/ubuntu disco/main i386 libss2 i386 1.44.5-1 [11.6 kB] Get:38 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libsqlite3-0 i386 3.26.0+fossilbc891ac6b-1 [566 kB] Get:39 http://ftpmaster.internal/ubuntu disco/main i386 tzdata all 2018i-1 [189 kB] Get:40 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libpng16-16 i386 1.6.36-2 [187 kB] Get:41 http://ftpmaster.internal/ubuntu disco/main i386 dpkg-dev all 1.19.2ubuntu2 [549 kB] Get:42 http://ftpmaster.internal/ubuntu disco/main i386 libdpkg-perl all 1.19.2ubuntu2 [227 kB] Get:43 http://ftpmaster.internal/ubuntu disco/main i386 e2fslibs i386 1.44.5-1 [2704 B] Get:44 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libassuan0 i386 2.5.2-1 [37.4 kB] Get:45 http://ftpmaster.internal/ubuntu disco/main i386 libcomerr2 i386 1.44.5-1 [2700 B] Get:46 http://ftpmaster.internal/ubuntu disco-proposed/main i386 linux-libc-dev i386 4.19.0-9.10 [1041 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 40.8 MB in 1s (33.0 MB/s) (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../tar_1.30+dfsg-4_i386.deb ... Unpacking tar (1.30+dfsg-4) over (1.30+dfsg-3) ... Setting up tar (1.30+dfsg-4) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.2ubuntu2_i386.deb ... Unpacking dpkg (1.19.2ubuntu2) over (1.19.2ubuntu1) ... Setting up dpkg (1.19.2ubuntu2) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../dash_0.5.10.2-4_i386.deb ... Unpacking dash (0.5.10.2-4) over (0.5.10.2-2) ... Setting up dash (0.5.10.2-4) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../archives/sed_4.7-1_i386.deb ... Unpacking sed (4.7-1) over (4.5-2) ... Setting up sed (4.7-1) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.56+nmu1_all.deb ... Unpacking init-system-helpers (1.56+nmu1) over (1.56) ... Setting up init-system-helpers (1.56+nmu1) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.5-2ubuntu1_i386.deb ... Unpacking libgnutls30:i386 (3.6.5-2ubuntu1) over (3.6.4-2ubuntu2) ... Setting up libgnutls30:i386 (3.6.5-2ubuntu1) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../libubsan1_8.2.0-13ubuntu1_i386.deb ... Unpacking libubsan1:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../gcc-8-base_8.2.0-13ubuntu1_i386.deb ... Unpacking gcc-8-base:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Setting up gcc-8-base:i386 (8.2.0-13ubuntu1) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a8.2.0-13ubuntu1_i386.deb ... Unpacking libgcc1:i386 (1:8.2.0-13ubuntu1) over (1:8.2.0-12ubuntu1) ... Setting up libgcc1:i386 (1:8.2.0-13ubuntu1) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../00-libgomp1_8.2.0-13ubuntu1_i386.deb ... Unpacking libgomp1:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../01-libitm1_8.2.0-13ubuntu1_i386.deb ... Unpacking libitm1:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../02-libatomic1_8.2.0-13ubuntu1_i386.deb ... Unpacking libatomic1:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../03-libasan5_8.2.0-13ubuntu1_i386.deb ... Unpacking libasan5:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../04-libmpx2_8.2.0-13ubuntu1_i386.deb ... Unpacking libmpx2:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../05-libquadmath0_8.2.0-13ubuntu1_i386.deb ... Unpacking libquadmath0:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../06-cpp-8_8.2.0-13ubuntu1_i386.deb ... Unpacking cpp-8 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../07-libcc1-0_8.2.0-13ubuntu1_i386.deb ... Unpacking libcc1-0:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../08-g++-8_8.2.0-13ubuntu1_i386.deb ... Unpacking g++-8 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../09-gcc-8_8.2.0-13ubuntu1_i386.deb ... Unpacking gcc-8 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../10-libgcc-8-dev_8.2.0-13ubuntu1_i386.deb ... Unpacking libgcc-8-dev:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../11-libstdc++-8-dev_8.2.0-13ubuntu1_i386.deb ... Unpacking libstdc++-8-dev:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../12-libstdc++6_8.2.0-13ubuntu1_i386.deb ... Unpacking libstdc++6:i386 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Setting up libstdc++6:i386 (8.2.0-13ubuntu1) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../libbinutils_2.31.1-11ubuntu1_i386.deb ... Unpacking libbinutils:i386 (2.31.1-11ubuntu1) over (2.31.1-10ubuntu1) ... Preparing to unpack .../binutils-common_2.31.1-11ubuntu1_i386.deb ... Unpacking binutils-common:i386 (2.31.1-11ubuntu1) over (2.31.1-10ubuntu1) ... Preparing to unpack .../binutils_2.31.1-11ubuntu1_i386.deb ... Unpacking binutils (2.31.1-11ubuntu1) over (2.31.1-10ubuntu1) ... Preparing to unpack .../binutils-i686-linux-gnu_2.31.1-11ubuntu1_i386.deb ... Unpacking binutils-i686-linux-gnu (2.31.1-11ubuntu1) over (2.31.1-10ubuntu1) ... Preparing to unpack .../libzstd1_1.3.8+dfsg-3_i386.deb ... Unpacking libzstd1:i386 (1.3.8+dfsg-3) over (1.3.5+dfsg-1ubuntu1) ... Setting up libzstd1:i386 (1.3.8+dfsg-3) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.8.0~alpha3_i386.deb ... Unpacking libapt-pkg5.0:i386 (1.8.0~alpha3) over (1.8.0~alpha2ubuntu1) ... Setting up libapt-pkg5.0:i386 (1.8.0~alpha3) ... (Reading database ... 12659 files and directories currently installed.) Preparing to unpack .../apt_1.8.0~alpha3_i386.deb ... Unpacking apt (1.8.0~alpha3) over (1.8.0~alpha2ubuntu1) ... Setting up apt (1.8.0~alpha3) ... (Reading database ... 12658 files and directories currently installed.) Preparing to unpack .../libext2fs2_1.44.5-1_i386.deb ... Unpacking libext2fs2:i386 (1.44.5-1) over (1.44.4-2ubuntu1) ... Setting up libext2fs2:i386 (1.44.5-1) ... (Reading database ... 12657 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.44.5-1_i386.deb ... Unpacking e2fsprogs (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../init_1.56+nmu1_i386.deb ... Unpacking init (1.56+nmu1) over (1.56) ... Preparing to unpack .../libgpg-error0_1.33-3_i386.deb ... Unpacking libgpg-error0:i386 (1.33-3) over (1.32-3) ... Setting up libgpg-error0:i386 (1.33-3) ... (Reading database ... 12657 files and directories currently installed.) Preparing to unpack .../libsemanage-common_2.8-2_all.deb ... Unpacking libsemanage-common (2.8-2) over (2.8-1build2) ... Setting up libsemanage-common (2.8-2) ... (Reading database ... 12657 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.8-2_i386.deb ... Unpacking libsemanage1:i386 (2.8-2) over (2.8-1build2) ... Setting up libsemanage1:i386 (2.8-2) ... (Reading database ... 12657 files and directories currently installed.) Preparing to unpack .../00-libcom-err2_1.44.5-1_i386.deb ... Unpacking libcom-err2:i386 (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../01-libss2_1.44.5-1_i386.deb ... Unpacking libss2:i386 (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../02-libsqlite3-0_3.26.0+fossilbc891ac6b-1_i386.deb ... Unpacking libsqlite3-0:i386 (3.26.0+fossilbc891ac6b-1) over (3.26.0-2) ... Preparing to unpack .../03-tzdata_2018i-1_all.deb ... Unpacking tzdata (2018i-1) over (2018g-1) ... Preparing to unpack .../04-libpng16-16_1.6.36-2_i386.deb ... Unpacking libpng16-16:i386 (1.6.36-2) over (1.6.34-2) ... Preparing to unpack .../05-dpkg-dev_1.19.2ubuntu2_all.deb ... Unpacking dpkg-dev (1.19.2ubuntu2) over (1.19.2ubuntu1) ... Preparing to unpack .../06-libdpkg-perl_1.19.2ubuntu2_all.deb ... Unpacking libdpkg-perl (1.19.2ubuntu2) over (1.19.2ubuntu1) ... Preparing to unpack .../07-e2fslibs_1.44.5-1_i386.deb ... Unpacking e2fslibs:i386 (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../08-libassuan0_2.5.2-1_i386.deb ... Unpacking libassuan0:i386 (2.5.2-1) over (2.5.1-2) ... Preparing to unpack .../09-libcomerr2_1.44.5-1_i386.deb ... Unpacking libcomerr2:i386 (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../10-linux-libc-dev_4.19.0-9.10_i386.deb ... Unpacking linux-libc-dev:i386 (4.19.0-9.10) over (4.18.0-11.12) ... Setting up libquadmath0:i386 (8.2.0-13ubuntu1) ... Setting up cpp-8 (8.2.0-13ubuntu1) ... Setting up libcom-err2:i386 (1.44.5-1) ... Setting up libgomp1:i386 (8.2.0-13ubuntu1) ... Setting up libatomic1:i386 (8.2.0-13ubuntu1) ... Setting up libss2:i386 (1.44.5-1) ... Setting up libcc1-0:i386 (8.2.0-13ubuntu1) ... Setting up e2fslibs:i386 (1.44.5-1) ... Setting up libpng16-16:i386 (1.6.36-2) ... Setting up tzdata (2018i-1) ... Current default time zone: 'Etc/UTC' Local time is now: Sun Jan 6 23:09:26 UTC 2019. Universal Time is now: Sun Jan 6 23:09:26 UTC 2019. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up init (1.56+nmu1) ... Setting up linux-libc-dev:i386 (4.19.0-9.10) ... Setting up libdpkg-perl (1.19.2ubuntu2) ... Setting up e2fsprogs (1.44.5-1) ... Setting up binutils-common:i386 (2.31.1-11ubuntu1) ... Setting up libmpx2:i386 (8.2.0-13ubuntu1) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libsqlite3-0:i386 (3.26.0+fossilbc891ac6b-1) ... Setting up libcomerr2:i386 (1.44.5-1) ... Setting up libasan5:i386 (8.2.0-13ubuntu1) ... Setting up libassuan0:i386 (2.5.2-1) ... Setting up libitm1:i386 (8.2.0-13ubuntu1) ... Setting up libubsan1:i386 (8.2.0-13ubuntu1) ... Setting up libbinutils:i386 (2.31.1-11ubuntu1) ... Setting up binutils-i686-linux-gnu (2.31.1-11ubuntu1) ... Setting up libgcc-8-dev:i386 (8.2.0-13ubuntu1) ... Setting up binutils (2.31.1-11ubuntu1) ... Setting up libstdc++-8-dev:i386 (8.2.0-13ubuntu1) ... Setting up gcc-8 (8.2.0-13ubuntu1) ... Setting up g++-8 (8.2.0-13ubuntu1) ... Setting up dpkg-dev (1.19.2ubuntu2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-16242190 i386 disco-proposed -c chroot:build-PACKAGEBUILD-16242190 --arch=i386 --dist=disco-proposed --nolog coccinelle_1.0.4.deb-4.dsc Initiating build PACKAGEBUILD-16242190 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC 2018 i686 sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on lgw01-amd64-019.buildd +==============================================================================+ | coccinelle 1.0.4.deb-4 (i386) 06 Jan 2019 23:09 | +==============================================================================+ Package: coccinelle Version: 1.0.4.deb-4 Source Version: 1.0.4.deb-4 Distribution: disco-proposed Machine Architecture: amd64 Host Architecture: i386 Build Architecture: i386 I: NOTICE: Log filtering will replace 'build/coccinelle-3wICkc/coccinelle-1.0.4.deb' with '<>' I: NOTICE: Log filtering will replace 'build/coccinelle-3wICkc' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-16242190/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- coccinelle_1.0.4.deb-4.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-pkft7R/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-pkft7R/apt_archive ./ InRelease Get:2 copy:/<>/resolver-pkft7R/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-pkft7R/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-pkft7R/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-pkft7R/apt_archive ./ Packages [525 B] Fetched 2858 B in 0s (141 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following 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-pkft7R/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 ... 12663 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-FhLUb9/apt_archive/sbuild-build-depends-coccinelle-dummy.deb'. Ign:1 copy:/<>/resolver-FhLUb9/apt_archive ./ InRelease Get:2 copy:/<>/resolver-FhLUb9/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-FhLUb9/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-FhLUb9/apt_archive ./ Sources [402 B] Get:5 copy:/<>/resolver-FhLUb9/apt_archive ./ Packages [725 B] Fetched 3246 B in 0s (124 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 additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils camlp4 debhelper dh-autoreconf dh-ocaml dh-python dh-strip-nondeterminism dwz file fontconfig-config fonts-dejavu-core fonts-lmodern gettext gettext-base ghostscript groff-base hevea intltool-debian latexmk libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libbrotli1 libbsd0 libcairo2 libcamlp4-ocaml-dev libcroco3 libcups2 libcupsimage2 libdbus-1-3 libelf1 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libfindlib-ocaml libfontconfig1 libfreetype6 libglib2.0-0 libgraphite2-3 libgs9 libgs9-common libgssapi-krb5-2 libharfbuzz-icu0 libharfbuzz0b libice6 libicu63 libijs-0.35 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libk5crypto3 libkeyutils1 libkpathsea6 libkrb5-3 libkrb5support0 libmagic-mgc libmagic1 libmenhir-ocaml-dev libmpdec2 libncurses-dev libncurses5-dev libnetpbm10 libpaper-utils libpaper1 libparmap-ocaml libparmap-ocaml-dev libpcre-ocaml libpcre-ocaml-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpipeline1 libpixman-1-0 libpotrace0 libptexenc1 libpycaml-ocaml libpycaml-ocaml-dev libpython-dev libpython-stdlib libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libsigsegv2 libsm6 libsynctex2 libteckit0 libtexlua52 libtexlua53 libtexluajit2 libtiff5 libtool libuchardet0 libwebp6 libwoff1 libx11-6 libx11-data libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxi6 libxml2 libxmu6 libxpm4 libxrender1 libxt6 libxxhash0 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 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-distutils python3-lib2to3 python3-minimal python3.7 python3.7-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 git gettext-doc libasprintf-dev libgettextpo-dev ghostscript-x groff hevea-doc cups-common krb5-doc krb5-user ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor 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-doc python2.7-doc binfmt-support python3-doc python3-tk python3-venv python3.7-venv python3.7-doc perl-tk xpdf-reader | pdf-viewer cm-super texlive-fonts-extra-doc texlive-fonts-recommended-doc texlive-latex-base-doc python-pygments icc-profiles libfile-which-perl libspreadsheet-parseexcel-perl texlive-latex-extra-doc texlive-latex-recommended-doc texlive-pstricks dot2tex prerex ruby-tcltk | libtcltk-ruby texlive-pictures-doc vprerex Recommended packages: curl | wget | lynx gsfonts xpdf-reader | pdf-viewer libcupsfilters1 dbus libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs fonts-droid-fallback krb5-locales libltdl-dev libfindlib-ocaml-dev ledit | readline-editor libmail-sendmail-perl lmodern fonts-adf-accanthis fonts-adf-berenis fonts-adf-gillius fonts-adf-universalis fonts-cabin fonts-comfortaa fonts-croscore fonts-crosextra-caladea fonts-crosextra-carlito 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-go fonts-junicode fonts-lato fonts-linuxlibertine fonts-lobstertwo fonts-noto-hinted fonts-noto-mono fonts-oflb-asana-math fonts-open-sans fonts-roboto-hinted fonts-roboto-unhinted fonts-sil-gentium fonts-sil-gentium-basic fonts-sil-gentiumplus fonts-sil-gentiumplus-compact fonts-stix texlive-fonts-extra-links tex-gyre tipa texlive-plain-generic ruby | ruby-interpreter tk libfile-mimeinfo-perl libnet-dbus-perl libx11-protocol-perl x11-utils x11-xserver-utils The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils camlp4 debhelper dh-autoreconf dh-ocaml dh-python dh-strip-nondeterminism dwz file fontconfig-config fonts-dejavu-core fonts-lmodern gettext gettext-base ghostscript groff-base hevea intltool-debian latexmk libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libbrotli1 libbsd0 libcairo2 libcamlp4-ocaml-dev libcroco3 libcups2 libcupsimage2 libdbus-1-3 libelf1 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libfindlib-ocaml libfontconfig1 libfreetype6 libglib2.0-0 libgraphite2-3 libgs9 libgs9-common libgssapi-krb5-2 libharfbuzz-icu0 libharfbuzz0b libice6 libicu63 libijs-0.35 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libk5crypto3 libkeyutils1 libkpathsea6 libkrb5-3 libkrb5support0 libmagic-mgc libmagic1 libmenhir-ocaml-dev libmpdec2 libncurses-dev libncurses5-dev libnetpbm10 libpaper-utils libpaper1 libparmap-ocaml libparmap-ocaml-dev libpcre-ocaml libpcre-ocaml-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpipeline1 libpixman-1-0 libpotrace0 libptexenc1 libpycaml-ocaml libpycaml-ocaml-dev libpython-dev libpython-stdlib libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib libsigsegv2 libsm6 libsynctex2 libteckit0 libtexlua52 libtexlua53 libtexluajit2 libtiff5 libtool libuchardet0 libwebp6 libwoff1 libx11-6 libx11-data libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxi6 libxml2 libxmu6 libxpm4 libxrender1 libxt6 libxxhash0 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 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-distutils python3-lib2to3 python3-minimal python3.7 python3.7-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, 167 newly installed, 0 to remove and 0 not upgraded. Need to get 629 MB of archives. After this operation, 1948 MB of additional disk space will be used. Get:1 copy:/<>/resolver-FhLUb9/apt_archive ./ sbuild-build-depends-coccinelle-dummy 0.invalid.0 [1056 B] Get:2 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libpython3.7-minimal i386 3.7.2-1 [546 kB] Get:3 http://ftpmaster.internal/ubuntu disco/main i386 libexpat1 i386 2.2.6-1 [84.8 kB] Get:4 http://ftpmaster.internal/ubuntu disco-proposed/main i386 python3.7-minimal i386 3.7.2-1 [1693 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main i386 python3-minimal i386 3.7.1-1ubuntu1 [23.6 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main i386 mime-support all 3.60ubuntu1 [30.1 kB] Get:7 http://ftpmaster.internal/ubuntu disco/main i386 libmpdec2 i386 2.4.2-2 [80.0 kB] Get:8 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libpython3.7-stdlib i386 3.7.2-1 [1749 kB] Get:9 http://ftpmaster.internal/ubuntu disco-proposed/main i386 python3.7 i386 3.7.2-1 [277 kB] Get:10 http://ftpmaster.internal/ubuntu disco/main i386 libpython3-stdlib i386 3.7.1-1ubuntu1 [7132 B] Get:11 http://ftpmaster.internal/ubuntu disco/main i386 python3 i386 3.7.1-1ubuntu1 [47.2 kB] Get:12 http://ftpmaster.internal/ubuntu disco/main i386 libxau6 i386 1:1.0.8-1 [8352 B] Get:13 http://ftpmaster.internal/ubuntu disco/main i386 libbsd0 i386 0.9.1-1 [48.8 kB] Get:14 http://ftpmaster.internal/ubuntu disco/main i386 libxdmcp6 i386 1:1.1.2-3 [11.1 kB] Get:15 http://ftpmaster.internal/ubuntu disco/main i386 libxcb1 i386 1.13.1-2 [49.9 kB] Get:16 http://ftpmaster.internal/ubuntu disco/main i386 libx11-data all 2:1.6.7-1 [113 kB] Get:17 http://ftpmaster.internal/ubuntu disco/main i386 libx11-6 i386 2:1.6.7-1 [594 kB] Get:18 http://ftpmaster.internal/ubuntu disco/main i386 libxext6 i386 2:1.3.3-1 [31.6 kB] Get:19 http://ftpmaster.internal/ubuntu disco/main i386 bsdmainutils i386 11.1.2ubuntu2 [183 kB] Get:20 http://ftpmaster.internal/ubuntu disco/universe i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get:21 http://ftpmaster.internal/ubuntu disco-proposed/main i386 groff-base i386 1.22.4-2 [880 kB] Get:22 http://ftpmaster.internal/ubuntu disco/main i386 libpipeline1 i386 1.5.0-2 [27.6 kB] Get:23 http://ftpmaster.internal/ubuntu disco/main i386 man-db i386 2.8.5-1 [1112 kB] Get:24 http://ftpmaster.internal/ubuntu disco/main i386 x11-common all 1:7.7+19ubuntu8 [22.5 kB] Get:25 http://ftpmaster.internal/ubuntu disco/main i386 libice6 i386 2:1.0.9-2 [42.6 kB] Get:26 http://ftpmaster.internal/ubuntu disco/main i386 libsm6 i386 2:1.2.2-1 [14.8 kB] Get:27 http://ftpmaster.internal/ubuntu disco/main i386 poppler-data all 0.4.9-2 [1475 kB] Get:28 http://ftpmaster.internal/ubuntu disco/main i386 libpython2.7-minimal i386 2.7.15-5 [335 kB] Get:29 http://ftpmaster.internal/ubuntu disco/main i386 python2.7-minimal i386 2.7.15-5 [1317 kB] Get:30 http://ftpmaster.internal/ubuntu disco/main i386 python2-minimal i386 2.7.15-3 [28.1 kB] Get:31 http://ftpmaster.internal/ubuntu disco/main i386 python-minimal i386 2.7.15-3 [5996 B] Get:32 http://ftpmaster.internal/ubuntu disco/main i386 libpython2.7-stdlib i386 2.7.15-5 [1931 kB] Get:33 http://ftpmaster.internal/ubuntu disco/main i386 python2.7 i386 2.7.15-5 [239 kB] Get:34 http://ftpmaster.internal/ubuntu disco/main i386 libpython2-stdlib i386 2.7.15-3 [7728 B] Get:35 http://ftpmaster.internal/ubuntu disco/main i386 libpython-stdlib i386 2.7.15-3 [5824 B] Get:36 http://ftpmaster.internal/ubuntu disco/main i386 python2 i386 2.7.15-3 [26.5 kB] Get:37 http://ftpmaster.internal/ubuntu disco/main i386 python i386 2.7.15-3 [7832 B] Get:38 http://ftpmaster.internal/ubuntu disco-proposed/main i386 ucf all 3.0038+nmu1 [51.6 kB] Get:39 http://ftpmaster.internal/ubuntu disco/main i386 tex-common all 6.10 [32.6 kB] Get:40 http://ftpmaster.internal/ubuntu disco/main i386 libmagic-mgc i386 1:5.34-2 [197 kB] Get:41 http://ftpmaster.internal/ubuntu disco/main i386 libmagic1 i386 1:5.34-2 [78.8 kB] Get:42 http://ftpmaster.internal/ubuntu disco/main i386 file i386 1:5.34-2 [22.8 kB] Get:43 http://ftpmaster.internal/ubuntu disco/main i386 libdbus-1-3 i386 1.12.10-1ubuntu2 [189 kB] Get:44 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libelf1 i386 0.175-2 [49.9 kB] Get:45 http://ftpmaster.internal/ubuntu disco/main i386 libglib2.0-0 i386 2.58.1-2 [1246 kB] Get:46 http://ftpmaster.internal/ubuntu disco/main i386 libicu63 i386 63.1-5 [8437 kB] Get:47 http://ftpmaster.internal/ubuntu disco/main i386 libxml2 i386 2.9.4+dfsg1-7ubuntu3 [658 kB] Get:48 http://ftpmaster.internal/ubuntu disco/main i386 gettext-base i386 0.19.8.1-9 [51.2 kB] Get:49 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libkrb5support0 i386 1.16.2-1 [32.8 kB] Get:50 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libk5crypto3 i386 1.16.2-1 [89.9 kB] Get:51 http://ftpmaster.internal/ubuntu disco/main i386 libkeyutils1 i386 1.5.9-9.3 [9896 B] Get:52 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libkrb5-3 i386 1.16.2-1 [305 kB] Get:53 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libgssapi-krb5-2 i386 1.16.2-1 [132 kB] Get:54 http://ftpmaster.internal/ubuntu disco/main i386 libsigsegv2 i386 2.12-2 [14.2 kB] Get:55 http://ftpmaster.internal/ubuntu disco/main i386 m4 i386 1.4.18-2 [202 kB] Get:56 http://ftpmaster.internal/ubuntu disco/main i386 autoconf all 2.69-11 [322 kB] Get:57 http://ftpmaster.internal/ubuntu disco/main i386 autotools-dev all 20180224.1 [39.6 kB] Get:58 http://ftpmaster.internal/ubuntu disco/main i386 automake all 1:1.16.1-4 [522 kB] Get:59 http://ftpmaster.internal/ubuntu disco/main i386 autopoint all 0.19.8.1-9 [412 kB] Get:60 http://ftpmaster.internal/ubuntu disco/universe i386 ocaml-base-nox i386 4.05.0-10ubuntu2 [509 kB] Get:61 http://ftpmaster.internal/ubuntu disco/main i386 libncurses-dev i386 6.1+20180210-4ubuntu1 [360 kB] Get:62 http://ftpmaster.internal/ubuntu disco/main i386 libncurses5-dev i386 6.1+20180210-4ubuntu1 [972 B] Get:63 http://ftpmaster.internal/ubuntu disco/universe i386 ocaml-compiler-libs i386 4.05.0-10ubuntu2 [18.9 MB] Get:64 http://ftpmaster.internal/ubuntu disco/universe i386 ocaml-interp i386 4.05.0-10ubuntu2 [3466 kB] Get:65 http://ftpmaster.internal/ubuntu disco/universe i386 ocaml-nox i386 4.05.0-10ubuntu2 [26.3 MB] Get:66 http://ftpmaster.internal/ubuntu disco/universe i386 libcamlp4-ocaml-dev i386 4.05+1-2 [16.2 MB] Get:67 http://ftpmaster.internal/ubuntu disco/universe i386 camlp4 i386 4.05+1-2 [4101 kB] Get:68 http://ftpmaster.internal/ubuntu disco/main i386 libtool all 2.4.6-6 [195 kB] Get:69 http://ftpmaster.internal/ubuntu disco/main i386 dh-autoreconf all 19 [16.1 kB] Get:70 http://ftpmaster.internal/ubuntu disco/main i386 libarchive-zip-perl all 1.64-1 [84.9 kB] Get:71 http://ftpmaster.internal/ubuntu disco/main i386 libfile-stripnondeterminism-perl all 1.0.0-1 [13.9 kB] Get:72 http://ftpmaster.internal/ubuntu disco/main i386 dh-strip-nondeterminism all 1.0.0-1 [5064 B] Get:73 http://ftpmaster.internal/ubuntu disco/main i386 dwz i386 0.12-3 [81.5 kB] Get:74 http://ftpmaster.internal/ubuntu disco/main i386 libcroco3 i386 0.6.12-3 [87.9 kB] Get:75 http://ftpmaster.internal/ubuntu disco/main i386 gettext i386 0.19.8.1-9 [905 kB] Get:76 http://ftpmaster.internal/ubuntu disco/main i386 intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:77 http://ftpmaster.internal/ubuntu disco/main i386 po-debconf all 1.0.21 [233 kB] Get:78 http://ftpmaster.internal/ubuntu disco-proposed/main i386 debhelper all 12ubuntu1 [887 kB] Get:79 http://ftpmaster.internal/ubuntu disco-proposed/main i386 python3-lib2to3 all 3.7.2-2 [74.3 kB] Get:80 http://ftpmaster.internal/ubuntu disco-proposed/main i386 python3-distutils all 3.7.2-2 [139 kB] Get:81 http://ftpmaster.internal/ubuntu disco/main i386 dh-python all 3.20180927ubuntu2 [90.9 kB] Get:82 http://ftpmaster.internal/ubuntu disco/main i386 fonts-dejavu-core all 2.37-1 [1041 kB] Get:83 http://ftpmaster.internal/ubuntu disco/main i386 fontconfig-config all 2.13.0-5ubuntu3 [28.4 kB] Get:84 http://ftpmaster.internal/ubuntu disco/main i386 fonts-lmodern all 2.004.5-5 [4532 kB] Get:85 http://ftpmaster.internal/ubuntu disco/main i386 libavahi-common-data i386 0.7-4ubuntu4 [21.3 kB] Get:86 http://ftpmaster.internal/ubuntu disco/main i386 libavahi-common3 i386 0.7-4ubuntu4 [23.1 kB] Get:87 http://ftpmaster.internal/ubuntu disco/main i386 libavahi-client3 i386 0.7-4ubuntu4 [27.2 kB] Get:88 http://ftpmaster.internal/ubuntu disco/main i386 libcups2 i386 2.2.10-3 [225 kB] Get:89 http://ftpmaster.internal/ubuntu disco/main i386 libcupsimage2 i386 2.2.10-3 [19.3 kB] Get:90 http://ftpmaster.internal/ubuntu disco/main i386 libfreetype6 i386 2.8.1-2ubuntu2 [351 kB] Get:91 http://ftpmaster.internal/ubuntu disco/main i386 libfontconfig1 i386 2.13.0-5ubuntu3 [122 kB] Get:92 http://ftpmaster.internal/ubuntu disco/main i386 libijs-0.35 i386 0.35-13 [16.0 kB] Get:93 http://ftpmaster.internal/ubuntu disco/main i386 libjbig2dec0 i386 0.15-2 [61.1 kB] Get:94 http://ftpmaster.internal/ubuntu disco/main i386 libjpeg-turbo8 i386 2.0.0-0ubuntu2 [126 kB] Get:95 http://ftpmaster.internal/ubuntu disco/main i386 libjpeg8 i386 8c-2ubuntu8 [2188 B] Get:96 http://ftpmaster.internal/ubuntu disco/main i386 libpaper1 i386 1.1.26 [13.0 kB] Get:97 http://ftpmaster.internal/ubuntu disco/main i386 libjbig0 i386 2.1-3.1build1 [27.3 kB] Get:98 http://ftpmaster.internal/ubuntu disco/main i386 libwebp6 i386 0.6.1-2 [197 kB] Get:99 http://ftpmaster.internal/ubuntu disco/main i386 libtiff5 i386 4.0.10-3 [168 kB] Get:100 http://ftpmaster.internal/ubuntu disco/main i386 libgs9-common all 9.26~dfsg+0-0ubuntu3 [5092 kB] Get:101 http://ftpmaster.internal/ubuntu disco/main i386 libgs9 i386 9.26~dfsg+0-0ubuntu3 [2502 kB] Get:102 http://ftpmaster.internal/ubuntu disco/main i386 ghostscript i386 9.26~dfsg+0-0ubuntu3 [52.2 kB] Get:103 http://ftpmaster.internal/ubuntu disco/universe i386 libnetpbm10 i386 2:10.0-15.3build1 [58.1 kB] Get:104 http://ftpmaster.internal/ubuntu disco/universe i386 netpbm i386 2:10.0-15.3build1 [941 kB] Get:105 http://ftpmaster.internal/ubuntu disco/main i386 libpaper-utils i386 1.1.26 [8516 B] Get:106 http://ftpmaster.internal/ubuntu disco/main i386 libkpathsea6 i386 2018.20181218.49446-1 [59.9 kB] Get:107 http://ftpmaster.internal/ubuntu disco/main i386 libptexenc1 i386 2018.20181218.49446-1 [35.8 kB] Get:108 http://ftpmaster.internal/ubuntu disco/main i386 libsynctex2 i386 2018.20181218.49446-1 [57.1 kB] Get:109 http://ftpmaster.internal/ubuntu disco/main i386 libtexlua52 i386 2018.20181218.49446-1 [99.0 kB] Get:110 http://ftpmaster.internal/ubuntu disco/main i386 libtexlua53 i386 2018.20181218.49446-1 [118 kB] Get:111 http://ftpmaster.internal/ubuntu disco/main i386 libtexluajit2 i386 2018.20181218.49446-1 [247 kB] Get:112 http://ftpmaster.internal/ubuntu disco/main i386 t1utils i386 1.41-3 [56.0 kB] Get:113 http://ftpmaster.internal/ubuntu disco/main i386 libbrotli1 i386 1.0.7-1 [265 kB] Get:114 http://ftpmaster.internal/ubuntu disco/main i386 libpixman-1-0 i386 0.36.0-1 [233 kB] Get:115 http://ftpmaster.internal/ubuntu disco/main i386 libxcb-render0 i386 1.13.1-2 [15.9 kB] Get:116 http://ftpmaster.internal/ubuntu disco/main i386 libxcb-shm0 i386 1.13.1-2 [5744 B] Get:117 http://ftpmaster.internal/ubuntu disco/main i386 libxrender1 i386 1:0.9.10-1 [19.9 kB] Get:118 http://ftpmaster.internal/ubuntu disco-proposed/main i386 libcairo2 i386 1.16.0-2 [640 kB] Get:119 http://ftpmaster.internal/ubuntu disco/main i386 libgraphite2-3 i386 1.3.12-1 [76.9 kB] Get:120 http://ftpmaster.internal/ubuntu disco/main i386 libharfbuzz0b i386 2.3.0-1 [384 kB] Get:121 http://ftpmaster.internal/ubuntu disco/main i386 libharfbuzz-icu0 i386 2.3.0-1 [5692 B] Get:122 http://ftpmaster.internal/ubuntu disco/main i386 libpotrace0 i386 1.15-1 [16.9 kB] Get:123 http://ftpmaster.internal/ubuntu disco/main i386 libteckit0 i386 2.5.8+ds2-5ubuntu1 [267 kB] Get:124 http://ftpmaster.internal/ubuntu disco/main i386 libwoff1 i386 1.0.2-1build1 [45.5 kB] Get:125 http://ftpmaster.internal/ubuntu disco/main i386 libxt6 i386 1:1.1.5-1 [164 kB] Get:126 http://ftpmaster.internal/ubuntu disco/main i386 libxmu6 i386 2:1.1.2-2 [48.4 kB] Get:127 http://ftpmaster.internal/ubuntu disco/main i386 libxpm4 i386 1:3.5.12-1 [35.8 kB] Get:128 http://ftpmaster.internal/ubuntu disco/main i386 libxaw7 i386 2:1.0.13-1 [182 kB] Get:129 http://ftpmaster.internal/ubuntu disco/main i386 libxi6 i386 2:1.7.9-1 [31.7 kB] Get:130 http://ftpmaster.internal/ubuntu disco/main i386 libxxhash0 i386 0.6.5-2 [8792 B] Get:131 http://ftpmaster.internal/ubuntu disco/main i386 libzzip-0-13 i386 0.13.62-3.1ubuntu1 [27.8 kB] Get:132 http://ftpmaster.internal/ubuntu disco/main i386 texlive-binaries i386 2018.20181218.49446-1 [11.4 MB] Get:133 http://ftpmaster.internal/ubuntu disco/main i386 xdg-utils all 1.1.3-1ubuntu2 [60.5 kB] Get:134 http://ftpmaster.internal/ubuntu disco/main i386 texlive-base all 2018.20181214-1 [19.4 MB] Get:135 http://ftpmaster.internal/ubuntu disco/universe i386 hevea all 2.32-2 [884 kB] Get:136 http://ftpmaster.internal/ubuntu disco/main i386 texlive-latex-base all 2018.20181214-1 [956 kB] Get:137 http://ftpmaster.internal/ubuntu disco/universe i386 latexmk all 1:4.61-0.1 [378 kB] Get:138 http://ftpmaster.internal/ubuntu disco/main i386 libexpat1-dev i386 2.2.6-1 [137 kB] Get:139 http://ftpmaster.internal/ubuntu disco/universe i386 libfindlib-ocaml i386 1.7.3-2 [156 kB] Get:140 http://ftpmaster.internal/ubuntu disco-proposed/universe i386 libmenhir-ocaml-dev i386 20181113-1 [198 kB] Get:141 http://ftpmaster.internal/ubuntu disco/universe i386 libparmap-ocaml i386 1.0~rc10-1 [34.5 kB] Get:142 http://ftpmaster.internal/ubuntu disco/universe i386 libparmap-ocaml-dev i386 1.0~rc10-1 [36.7 kB] Get:143 http://ftpmaster.internal/ubuntu disco/universe i386 libpcre-ocaml i386 7.2.3-2build1 [88.0 kB] Get:144 http://ftpmaster.internal/ubuntu disco/main i386 libpcre16-3 i386 2:8.39-11 [148 kB] Get:145 http://ftpmaster.internal/ubuntu disco/main i386 libpcre32-3 i386 2:8.39-11 [140 kB] Get:146 http://ftpmaster.internal/ubuntu disco/main i386 libpcrecpp0v5 i386 2:8.39-11 [16.7 kB] Get:147 http://ftpmaster.internal/ubuntu disco/main i386 libpcre3-dev i386 2:8.39-11 [546 kB] Get:148 http://ftpmaster.internal/ubuntu disco/universe i386 ocaml-findlib i386 1.7.3-2 [342 kB] Get:149 http://ftpmaster.internal/ubuntu disco/universe i386 libpcre-ocaml-dev i386 7.2.3-2build1 [226 kB] Get:150 http://ftpmaster.internal/ubuntu disco/main i386 libpython2.7 i386 2.7.15-5 [1055 kB] Get:151 http://ftpmaster.internal/ubuntu disco/universe i386 libpycaml-ocaml i386 0.82-15build1 [12.7 kB] Get:152 http://ftpmaster.internal/ubuntu disco/main i386 libpython2.7-dev i386 2.7.15-5 [31.3 MB] Get:153 http://ftpmaster.internal/ubuntu disco/main i386 libpython2-dev i386 2.7.15-3 [7800 B] Get:154 http://ftpmaster.internal/ubuntu disco/main i386 libpython-dev i386 2.7.15-3 [5896 B] Get:155 http://ftpmaster.internal/ubuntu disco/main i386 python2.7-dev i386 2.7.15-5 [276 kB] Get:156 http://ftpmaster.internal/ubuntu disco/main i386 python2-dev i386 2.7.15-3 [1236 B] Get:157 http://ftpmaster.internal/ubuntu disco/main i386 python-dev i386 2.7.15-3 [1216 B] Get:158 http://ftpmaster.internal/ubuntu disco/universe i386 libpycaml-ocaml-dev i386 0.82-15build1 [351 kB] Get:159 http://ftpmaster.internal/ubuntu disco-proposed/universe i386 menhir i386 20181113-1 [567 kB] Get:160 http://ftpmaster.internal/ubuntu disco/main i386 pkg-config i386 0.29.1-0ubuntu2 [45.8 kB] Get:161 http://ftpmaster.internal/ubuntu disco/main i386 preview-latex-style all 11.91-1ubuntu1 [185 kB] Get:162 http://ftpmaster.internal/ubuntu disco/universe i386 texlive-fonts-extra all 2018.20181214-1 [406 MB] Get:163 http://ftpmaster.internal/ubuntu disco/universe i386 texlive-fonts-recommended all 2018.20181214-1 [5265 kB] Get:164 http://ftpmaster.internal/ubuntu disco/main i386 texlive-latex-recommended all 2018.20181214-1 [15.3 MB] Get:165 http://ftpmaster.internal/ubuntu disco/universe i386 texlive-pictures all 2018.20181214-1 [4124 kB] Get:166 http://ftpmaster.internal/ubuntu disco/universe i386 texlive-latex-extra all 2018.20181214-1 [11.8 MB] Get:167 http://ftpmaster.internal/ubuntu disco/universe i386 dh-ocaml all 1.1.0 [79.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 629 MB in 27s (23.1 MB/s) Selecting previously unselected package libpython3.7-minimal:i386. (Reading database ... 12663 files and directories currently installed.) Preparing to unpack .../libpython3.7-minimal_3.7.2-1_i386.deb ... Unpacking libpython3.7-minimal:i386 (3.7.2-1) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../libexpat1_2.2.6-1_i386.deb ... Unpacking libexpat1:i386 (2.2.6-1) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../python3.7-minimal_3.7.2-1_i386.deb ... Unpacking python3.7-minimal (3.7.2-1) ... Setting up libpython3.7-minimal:i386 (3.7.2-1) ... Setting up libexpat1:i386 (2.2.6-1) ... Setting up python3.7-minimal (3.7.2-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 12912 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.7.1-1ubuntu1_i386.deb ... Unpacking python3-minimal (3.7.1-1ubuntu1) ... Selecting previously unselected package mime-support. Preparing to unpack .../1-mime-support_3.60ubuntu1_all.deb ... Unpacking mime-support (3.60ubuntu1) ... Selecting previously unselected package libmpdec2:i386. Preparing to unpack .../2-libmpdec2_2.4.2-2_i386.deb ... Unpacking libmpdec2:i386 (2.4.2-2) ... Selecting previously unselected package libpython3.7-stdlib:i386. Preparing to unpack .../3-libpython3.7-stdlib_3.7.2-1_i386.deb ... Unpacking libpython3.7-stdlib:i386 (3.7.2-1) ... Selecting previously unselected package python3.7. Preparing to unpack .../4-python3.7_3.7.2-1_i386.deb ... Unpacking python3.7 (3.7.2-1) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../5-libpython3-stdlib_3.7.1-1ubuntu1_i386.deb ... Unpacking libpython3-stdlib:i386 (3.7.1-1ubuntu1) ... Setting up python3-minimal (3.7.1-1ubuntu1) ... Selecting previously unselected package python3. (Reading database ... 13346 files and directories currently installed.) Preparing to unpack .../00-python3_3.7.1-1ubuntu1_i386.deb ... Unpacking python3 (3.7.1-1ubuntu1) ... 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.9.1-1_i386.deb ... Unpacking libbsd0:i386 (0.9.1-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.13.1-2_i386.deb ... Unpacking libxcb1:i386 (1.13.1-2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../05-libx11-data_2%3a1.6.7-1_all.deb ... Unpacking libx11-data (2:1.6.7-1) ... Selecting previously unselected package libx11-6:i386. Preparing to unpack .../06-libx11-6_2%3a1.6.7-1_i386.deb ... Unpacking libx11-6:i386 (2:1.6.7-1) ... 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 bsdmainutils. Preparing to unpack .../08-bsdmainutils_11.1.2ubuntu2_i386.deb ... Unpacking bsdmainutils (11.1.2ubuntu2) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../09-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../10-groff-base_1.22.4-2_i386.deb ... Unpacking groff-base (1.22.4-2) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../11-libpipeline1_1.5.0-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.0-2) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.8.5-1_i386.deb ... Unpacking man-db (2.8.5-1) ... Selecting previously unselected package x11-common. Preparing to unpack .../13-x11-common_1%3a7.7+19ubuntu8_all.deb ... dpkg-query: no packages found matching nux-tools Unpacking x11-common (1:7.7+19ubuntu8) ... Selecting previously unselected package libice6:i386. Preparing to unpack .../14-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 .../15-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 .../16-poppler-data_0.4.9-2_all.deb ... Unpacking poppler-data (0.4.9-2) ... Selecting previously unselected package libpython2.7-minimal:i386. Preparing to unpack .../17-libpython2.7-minimal_2.7.15-5_i386.deb ... Unpacking libpython2.7-minimal:i386 (2.7.15-5) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../18-python2.7-minimal_2.7.15-5_i386.deb ... Unpacking python2.7-minimal (2.7.15-5) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../19-python2-minimal_2.7.15-3_i386.deb ... Unpacking python2-minimal (2.7.15-3) ... Selecting previously unselected package python-minimal. Preparing to unpack .../20-python-minimal_2.7.15-3_i386.deb ... Unpacking python-minimal (2.7.15-3) ... Selecting previously unselected package libpython2.7-stdlib:i386. Preparing to unpack .../21-libpython2.7-stdlib_2.7.15-5_i386.deb ... Unpacking libpython2.7-stdlib:i386 (2.7.15-5) ... Selecting previously unselected package python2.7. Preparing to unpack .../22-python2.7_2.7.15-5_i386.deb ... Unpacking python2.7 (2.7.15-5) ... Selecting previously unselected package libpython2-stdlib:i386. Preparing to unpack .../23-libpython2-stdlib_2.7.15-3_i386.deb ... Unpacking libpython2-stdlib:i386 (2.7.15-3) ... Selecting previously unselected package libpython-stdlib:i386. Preparing to unpack .../24-libpython-stdlib_2.7.15-3_i386.deb ... Unpacking libpython-stdlib:i386 (2.7.15-3) ... Setting up libpython2.7-minimal:i386 (2.7.15-5) ... Setting up python2.7-minimal (2.7.15-5) ... Setting up python2-minimal (2.7.15-3) ... Selecting previously unselected package python2. (Reading database ... 15551 files and directories currently installed.) Preparing to unpack .../python2_2.7.15-3_i386.deb ... Unpacking python2 (2.7.15-3) ... Setting up python-minimal (2.7.15-3) ... Selecting previously unselected package python. (Reading database ... 15583 files and directories currently installed.) Preparing to unpack .../000-python_2.7.15-3_i386.deb ... Unpacking python (2.7.15-3) ... Selecting previously unselected package ucf. Preparing to unpack .../001-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package tex-common. Preparing to unpack .../002-tex-common_6.10_all.deb ... Unpacking tex-common (6.10) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../003-libmagic-mgc_1%3a5.34-2_i386.deb ... Unpacking libmagic-mgc (1:5.34-2) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../004-libmagic1_1%3a5.34-2_i386.deb ... Unpacking libmagic1:i386 (1:5.34-2) ... Selecting previously unselected package file. Preparing to unpack .../005-file_1%3a5.34-2_i386.deb ... Unpacking file (1:5.34-2) ... Selecting previously unselected package libdbus-1-3:i386. Preparing to unpack .../006-libdbus-1-3_1.12.10-1ubuntu2_i386.deb ... Unpacking libdbus-1-3:i386 (1.12.10-1ubuntu2) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../007-libelf1_0.175-2_i386.deb ... Unpacking libelf1:i386 (0.175-2) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../008-libglib2.0-0_2.58.1-2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.1-2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../009-libicu63_63.1-5_i386.deb ... Unpacking libicu63:i386 (63.1-5) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../010-libxml2_2.9.4+dfsg1-7ubuntu3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7ubuntu3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../011-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libkrb5support0:i386. Preparing to unpack .../012-libkrb5support0_1.16.2-1_i386.deb ... Unpacking libkrb5support0:i386 (1.16.2-1) ... Selecting previously unselected package libk5crypto3:i386. Preparing to unpack .../013-libk5crypto3_1.16.2-1_i386.deb ... Unpacking libk5crypto3:i386 (1.16.2-1) ... Selecting previously unselected package libkeyutils1:i386. Preparing to unpack .../014-libkeyutils1_1.5.9-9.3_i386.deb ... Unpacking libkeyutils1:i386 (1.5.9-9.3) ... Selecting previously unselected package libkrb5-3:i386. Preparing to unpack .../015-libkrb5-3_1.16.2-1_i386.deb ... Unpacking libkrb5-3:i386 (1.16.2-1) ... Selecting previously unselected package libgssapi-krb5-2:i386. Preparing to unpack .../016-libgssapi-krb5-2_1.16.2-1_i386.deb ... Unpacking libgssapi-krb5-2:i386 (1.16.2-1) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../017-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../018-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../019-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../020-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../021-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../022-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package ocaml-base-nox. Preparing to unpack .../023-ocaml-base-nox_4.05.0-10ubuntu2_i386.deb ... Unpacking ocaml-base-nox (4.05.0-10ubuntu2) ... Selecting previously unselected package libncurses-dev:i386. Preparing to unpack .../024-libncurses-dev_6.1+20180210-4ubuntu1_i386.deb ... Unpacking libncurses-dev:i386 (6.1+20180210-4ubuntu1) ... Selecting previously unselected package libncurses5-dev:i386. Preparing to unpack .../025-libncurses5-dev_6.1+20180210-4ubuntu1_i386.deb ... Unpacking libncurses5-dev:i386 (6.1+20180210-4ubuntu1) ... Selecting previously unselected package ocaml-compiler-libs. Preparing to unpack .../026-ocaml-compiler-libs_4.05.0-10ubuntu2_i386.deb ... Unpacking ocaml-compiler-libs (4.05.0-10ubuntu2) ... Selecting previously unselected package ocaml-interp. Preparing to unpack .../027-ocaml-interp_4.05.0-10ubuntu2_i386.deb ... Unpacking ocaml-interp (4.05.0-10ubuntu2) ... Selecting previously unselected package ocaml-nox. Preparing to unpack .../028-ocaml-nox_4.05.0-10ubuntu2_i386.deb ... Unpacking ocaml-nox (4.05.0-10ubuntu2) ... Selecting previously unselected package libcamlp4-ocaml-dev. Preparing to unpack .../029-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 .../030-camlp4_4.05+1-2_i386.deb ... Unpacking camlp4 (4.05+1-2) ... Selecting previously unselected package libtool. Preparing to unpack .../031-libtool_2.4.6-6_all.deb ... Unpacking libtool (2.4.6-6) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../032-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../033-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../034-libfile-stripnondeterminism-perl_1.0.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.0.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../035-dh-strip-nondeterminism_1.0.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.0.0-1) ... Selecting previously unselected package dwz. Preparing to unpack .../036-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../037-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package gettext. Preparing to unpack .../038-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../039-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 .../040-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../041-debhelper_12ubuntu1_all.deb ... Unpacking debhelper (12ubuntu1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../042-python3-lib2to3_3.7.2-2_all.deb ... Unpacking python3-lib2to3 (3.7.2-2) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../043-python3-distutils_3.7.2-2_all.deb ... Unpacking python3-distutils (3.7.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../044-dh-python_3.20180927ubuntu2_all.deb ... Unpacking dh-python (3.20180927ubuntu2) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../045-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../046-fontconfig-config_2.13.0-5ubuntu3_all.deb ... Unpacking fontconfig-config (2.13.0-5ubuntu3) ... Selecting previously unselected package fonts-lmodern. Preparing to unpack .../047-fonts-lmodern_2.004.5-5_all.deb ... Unpacking fonts-lmodern (2.004.5-5) ... Selecting previously unselected package libavahi-common-data:i386. Preparing to unpack .../048-libavahi-common-data_0.7-4ubuntu4_i386.deb ... Unpacking libavahi-common-data:i386 (0.7-4ubuntu4) ... Selecting previously unselected package libavahi-common3:i386. Preparing to unpack .../049-libavahi-common3_0.7-4ubuntu4_i386.deb ... Unpacking libavahi-common3:i386 (0.7-4ubuntu4) ... Selecting previously unselected package libavahi-client3:i386. Preparing to unpack .../050-libavahi-client3_0.7-4ubuntu4_i386.deb ... Unpacking libavahi-client3:i386 (0.7-4ubuntu4) ... Selecting previously unselected package libcups2:i386. Preparing to unpack .../051-libcups2_2.2.10-3_i386.deb ... Unpacking libcups2:i386 (2.2.10-3) ... Selecting previously unselected package libcupsimage2:i386. Preparing to unpack .../052-libcupsimage2_2.2.10-3_i386.deb ... Unpacking libcupsimage2:i386 (2.2.10-3) ... Selecting previously unselected package libfreetype6:i386. Preparing to unpack .../053-libfreetype6_2.8.1-2ubuntu2_i386.deb ... Unpacking libfreetype6:i386 (2.8.1-2ubuntu2) ... Selecting previously unselected package libfontconfig1:i386. Preparing to unpack .../054-libfontconfig1_2.13.0-5ubuntu3_i386.deb ... Unpacking libfontconfig1:i386 (2.13.0-5ubuntu3) ... Selecting previously unselected package libijs-0.35:i386. Preparing to unpack .../055-libijs-0.35_0.35-13_i386.deb ... Unpacking libijs-0.35:i386 (0.35-13) ... Selecting previously unselected package libjbig2dec0:i386. Preparing to unpack .../056-libjbig2dec0_0.15-2_i386.deb ... Unpacking libjbig2dec0:i386 (0.15-2) ... Selecting previously unselected package libjpeg-turbo8:i386. Preparing to unpack .../057-libjpeg-turbo8_2.0.0-0ubuntu2_i386.deb ... Unpacking libjpeg-turbo8:i386 (2.0.0-0ubuntu2) ... Selecting previously unselected package libjpeg8:i386. Preparing to unpack .../058-libjpeg8_8c-2ubuntu8_i386.deb ... Unpacking libjpeg8:i386 (8c-2ubuntu8) ... Selecting previously unselected package libpaper1:i386. Preparing to unpack .../059-libpaper1_1.1.26_i386.deb ... Unpacking libpaper1:i386 (1.1.26) ... Selecting previously unselected package libjbig0:i386. Preparing to unpack .../060-libjbig0_2.1-3.1build1_i386.deb ... Unpacking libjbig0:i386 (2.1-3.1build1) ... Selecting previously unselected package libwebp6:i386. Preparing to unpack .../061-libwebp6_0.6.1-2_i386.deb ... Unpacking libwebp6:i386 (0.6.1-2) ... Selecting previously unselected package libtiff5:i386. Preparing to unpack .../062-libtiff5_4.0.10-3_i386.deb ... Unpacking libtiff5:i386 (4.0.10-3) ... Selecting previously unselected package libgs9-common. Preparing to unpack .../063-libgs9-common_9.26~dfsg+0-0ubuntu3_all.deb ... Unpacking libgs9-common (9.26~dfsg+0-0ubuntu3) ... Selecting previously unselected package libgs9:i386. Preparing to unpack .../064-libgs9_9.26~dfsg+0-0ubuntu3_i386.deb ... Unpacking libgs9:i386 (9.26~dfsg+0-0ubuntu3) ... Selecting previously unselected package ghostscript. Preparing to unpack .../065-ghostscript_9.26~dfsg+0-0ubuntu3_i386.deb ... Unpacking ghostscript (9.26~dfsg+0-0ubuntu3) ... Selecting previously unselected package libnetpbm10. Preparing to unpack .../066-libnetpbm10_2%3a10.0-15.3build1_i386.deb ... Unpacking libnetpbm10 (2:10.0-15.3build1) ... Selecting previously unselected package netpbm. Preparing to unpack .../067-netpbm_2%3a10.0-15.3build1_i386.deb ... Unpacking netpbm (2:10.0-15.3build1) ... Selecting previously unselected package libpaper-utils. Preparing to unpack .../068-libpaper-utils_1.1.26_i386.deb ... Unpacking libpaper-utils (1.1.26) ... Selecting previously unselected package libkpathsea6:i386. Preparing to unpack .../069-libkpathsea6_2018.20181218.49446-1_i386.deb ... Unpacking libkpathsea6:i386 (2018.20181218.49446-1) ... Selecting previously unselected package libptexenc1:i386. Preparing to unpack .../070-libptexenc1_2018.20181218.49446-1_i386.deb ... Unpacking libptexenc1:i386 (2018.20181218.49446-1) ... Selecting previously unselected package libsynctex2:i386. Preparing to unpack .../071-libsynctex2_2018.20181218.49446-1_i386.deb ... Unpacking libsynctex2:i386 (2018.20181218.49446-1) ... Selecting previously unselected package libtexlua52:i386. Preparing to unpack .../072-libtexlua52_2018.20181218.49446-1_i386.deb ... Unpacking libtexlua52:i386 (2018.20181218.49446-1) ... Selecting previously unselected package libtexlua53:i386. Preparing to unpack .../073-libtexlua53_2018.20181218.49446-1_i386.deb ... Unpacking libtexlua53:i386 (2018.20181218.49446-1) ... Selecting previously unselected package libtexluajit2:i386. Preparing to unpack .../074-libtexluajit2_2018.20181218.49446-1_i386.deb ... Unpacking libtexluajit2:i386 (2018.20181218.49446-1) ... Selecting previously unselected package t1utils. Preparing to unpack .../075-t1utils_1.41-3_i386.deb ... Unpacking t1utils (1.41-3) ... Selecting previously unselected package libbrotli1:i386. Preparing to unpack .../076-libbrotli1_1.0.7-1_i386.deb ... Unpacking libbrotli1:i386 (1.0.7-1) ... Selecting previously unselected package libpixman-1-0:i386. Preparing to unpack .../077-libpixman-1-0_0.36.0-1_i386.deb ... Unpacking libpixman-1-0:i386 (0.36.0-1) ... Selecting previously unselected package libxcb-render0:i386. Preparing to unpack .../078-libxcb-render0_1.13.1-2_i386.deb ... Unpacking libxcb-render0:i386 (1.13.1-2) ... Selecting previously unselected package libxcb-shm0:i386. Preparing to unpack .../079-libxcb-shm0_1.13.1-2_i386.deb ... Unpacking libxcb-shm0:i386 (1.13.1-2) ... Selecting previously unselected package libxrender1:i386. Preparing to unpack .../080-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 .../081-libcairo2_1.16.0-2_i386.deb ... Unpacking libcairo2:i386 (1.16.0-2) ... Selecting previously unselected package libgraphite2-3:i386. Preparing to unpack .../082-libgraphite2-3_1.3.12-1_i386.deb ... Unpacking libgraphite2-3:i386 (1.3.12-1) ... Selecting previously unselected package libharfbuzz0b:i386. Preparing to unpack .../083-libharfbuzz0b_2.3.0-1_i386.deb ... Unpacking libharfbuzz0b:i386 (2.3.0-1) ... Selecting previously unselected package libharfbuzz-icu0:i386. Preparing to unpack .../084-libharfbuzz-icu0_2.3.0-1_i386.deb ... Unpacking libharfbuzz-icu0:i386 (2.3.0-1) ... Selecting previously unselected package libpotrace0:i386. Preparing to unpack .../085-libpotrace0_1.15-1_i386.deb ... Unpacking libpotrace0:i386 (1.15-1) ... Selecting previously unselected package libteckit0:i386. Preparing to unpack .../086-libteckit0_2.5.8+ds2-5ubuntu1_i386.deb ... Unpacking libteckit0:i386 (2.5.8+ds2-5ubuntu1) ... Selecting previously unselected package libwoff1:i386. Preparing to unpack .../087-libwoff1_1.0.2-1build1_i386.deb ... Unpacking libwoff1:i386 (1.0.2-1build1) ... Selecting previously unselected package libxt6:i386. Preparing to unpack .../088-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 .../089-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 .../090-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 .../091-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 .../092-libxi6_2%3a1.7.9-1_i386.deb ... Unpacking libxi6:i386 (2:1.7.9-1) ... Selecting previously unselected package libxxhash0:i386. Preparing to unpack .../093-libxxhash0_0.6.5-2_i386.deb ... Unpacking libxxhash0:i386 (0.6.5-2) ... Selecting previously unselected package libzzip-0-13:i386. Preparing to unpack .../094-libzzip-0-13_0.13.62-3.1ubuntu1_i386.deb ... Unpacking libzzip-0-13:i386 (0.13.62-3.1ubuntu1) ... Selecting previously unselected package texlive-binaries. Preparing to unpack .../095-texlive-binaries_2018.20181218.49446-1_i386.deb ... Unpacking texlive-binaries (2018.20181218.49446-1) ... Selecting previously unselected package xdg-utils. Preparing to unpack .../096-xdg-utils_1.1.3-1ubuntu2_all.deb ... Unpacking xdg-utils (1.1.3-1ubuntu2) ... Selecting previously unselected package texlive-base. Preparing to unpack .../097-texlive-base_2018.20181214-1_all.deb ... Unpacking texlive-base (2018.20181214-1) ... Selecting previously unselected package hevea. Preparing to unpack .../098-hevea_2.32-2_all.deb ... Unpacking hevea (2.32-2) ... Selecting previously unselected package texlive-latex-base. Preparing to unpack .../099-texlive-latex-base_2018.20181214-1_all.deb ... Unpacking texlive-latex-base (2018.20181214-1) ... Selecting previously unselected package latexmk. Preparing to unpack .../100-latexmk_1%3a4.61-0.1_all.deb ... Unpacking latexmk (1:4.61-0.1) ... Selecting previously unselected package libexpat1-dev:i386. Preparing to unpack .../101-libexpat1-dev_2.2.6-1_i386.deb ... Unpacking libexpat1-dev:i386 (2.2.6-1) ... Selecting previously unselected package libfindlib-ocaml. Preparing to unpack .../102-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 .../103-libmenhir-ocaml-dev_20181113-1_i386.deb ... Unpacking libmenhir-ocaml-dev (20181113-1) ... Selecting previously unselected package libparmap-ocaml. Preparing to unpack .../104-libparmap-ocaml_1.0~rc10-1_i386.deb ... Unpacking libparmap-ocaml (1.0~rc10-1) ... Selecting previously unselected package libparmap-ocaml-dev. Preparing to unpack .../105-libparmap-ocaml-dev_1.0~rc10-1_i386.deb ... Unpacking libparmap-ocaml-dev (1.0~rc10-1) ... Selecting previously unselected package libpcre-ocaml. Preparing to unpack .../106-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 .../107-libpcre16-3_2%3a8.39-11_i386.deb ... Unpacking libpcre16-3:i386 (2:8.39-11) ... Selecting previously unselected package libpcre32-3:i386. Preparing to unpack .../108-libpcre32-3_2%3a8.39-11_i386.deb ... Unpacking libpcre32-3:i386 (2:8.39-11) ... Selecting previously unselected package libpcrecpp0v5:i386. Preparing to unpack .../109-libpcrecpp0v5_2%3a8.39-11_i386.deb ... Unpacking libpcrecpp0v5:i386 (2:8.39-11) ... Selecting previously unselected package libpcre3-dev:i386. Preparing to unpack .../110-libpcre3-dev_2%3a8.39-11_i386.deb ... Unpacking libpcre3-dev:i386 (2:8.39-11) ... Selecting previously unselected package ocaml-findlib. Preparing to unpack .../111-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 .../112-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 .../113-libpython2.7_2.7.15-5_i386.deb ... Unpacking libpython2.7:i386 (2.7.15-5) ... Selecting previously unselected package libpycaml-ocaml. Preparing to unpack .../114-libpycaml-ocaml_0.82-15build1_i386.deb ... Unpacking libpycaml-ocaml (0.82-15build1) ... Selecting previously unselected package libpython2.7-dev:i386. Preparing to unpack .../115-libpython2.7-dev_2.7.15-5_i386.deb ... Unpacking libpython2.7-dev:i386 (2.7.15-5) ... Selecting previously unselected package libpython2-dev:i386. Preparing to unpack .../116-libpython2-dev_2.7.15-3_i386.deb ... Unpacking libpython2-dev:i386 (2.7.15-3) ... Selecting previously unselected package libpython-dev:i386. Preparing to unpack .../117-libpython-dev_2.7.15-3_i386.deb ... Unpacking libpython-dev:i386 (2.7.15-3) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../118-python2.7-dev_2.7.15-5_i386.deb ... Unpacking python2.7-dev (2.7.15-5) ... Selecting previously unselected package python2-dev. Preparing to unpack .../119-python2-dev_2.7.15-3_i386.deb ... Unpacking python2-dev (2.7.15-3) ... Selecting previously unselected package python-dev. Preparing to unpack .../120-python-dev_2.7.15-3_i386.deb ... Unpacking python-dev (2.7.15-3) ... Selecting previously unselected package libpycaml-ocaml-dev. Preparing to unpack .../121-libpycaml-ocaml-dev_0.82-15build1_i386.deb ... Unpacking libpycaml-ocaml-dev (0.82-15build1) ... Selecting previously unselected package menhir. Preparing to unpack .../122-menhir_20181113-1_i386.deb ... Unpacking menhir (20181113-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../123-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 .../124-preview-latex-style_11.91-1ubuntu1_all.deb ... Unpacking preview-latex-style (11.91-1ubuntu1) ... Selecting previously unselected package texlive-fonts-extra. Preparing to unpack .../125-texlive-fonts-extra_2018.20181214-1_all.deb ... Unpacking texlive-fonts-extra (2018.20181214-1) ... Selecting previously unselected package texlive-fonts-recommended. Preparing to unpack .../126-texlive-fonts-recommended_2018.20181214-1_all.deb ... Unpacking texlive-fonts-recommended (2018.20181214-1) ... Selecting previously unselected package texlive-latex-recommended. Preparing to unpack .../127-texlive-latex-recommended_2018.20181214-1_all.deb ... Unpacking texlive-latex-recommended (2018.20181214-1) ... Selecting previously unselected package texlive-pictures. Preparing to unpack .../128-texlive-pictures_2018.20181214-1_all.deb ... Unpacking texlive-pictures (2018.20181214-1) ... Selecting previously unselected package texlive-latex-extra. Preparing to unpack .../129-texlive-latex-extra_2018.20181214-1_all.deb ... Unpacking texlive-latex-extra (2018.20181214-1) ... Selecting previously unselected package dh-ocaml. Preparing to unpack .../130-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 .../131-sbuild-build-depends-coccinelle-dummy_0.invalid.0_i386.deb ... Unpacking sbuild-build-depends-coccinelle-dummy (0.invalid.0) ... Setting up libgs9-common (9.26~dfsg+0-0ubuntu3) ... Setting up libbrotli1:i386 (1.0.7-1) ... Setting up libkpathsea6:i386 (2018.20181218.49446-1) ... Setting up libtexlua52:i386 (2018.20181218.49446-1) ... Setting up libptexenc1:i386 (2018.20181218.49446-1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up mime-support (3.60ubuntu1) ... Setting up libwoff1:i386 (1.0.2-1build1) ... Setting up libicu63:i386 (63.1-5) ... Setting up libjbig0:i386 (2.1-3.1build1) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up poppler-data (0.4.9-2) ... Setting up libelf1:i386 (0.175-2) ... Setting up libglib2.0-0:i386 (2.58.1-2) ... No schema files found: doing nothing. Setting up libnetpbm10 (2:10.0-15.3build1) ... Setting up libtexlua53:i386 (2018.20181218.49446-1) ... Setting up ocaml-base-nox (4.05.0-10ubuntu2) ... Setting up dh-ocaml (1.1.0) ... Setting up gettext-base (0.19.8.1-9) ... Setting up libsynctex2:i386 (2018.20181218.49446-1) ... Setting up libjpeg-turbo8:i386 (2.0.0-0ubuntu2) ... Setting up libpipeline1:i386 (1.5.0-2) ... Setting up libpcre-ocaml (7.2.3-2build1) ... Setting up m4 (1.4.18-2) ... Setting up libxxhash0:i386 (0.6.5-2) ... Setting up libbsd0:i386 (0.9.1-1) ... Setting up libkrb5support0:i386 (1.16.2-1) ... Setting up menhir (20181113-1) ... Setting up ucf (3.0038+nmu1) ... Setting up libxml2:i386 (2.9.4+dfsg1-7ubuntu3) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up libfreetype6:i386 (2.8.1-2ubuntu2) ... Setting up libmagic-mgc (1:5.34-2) ... Setting up libmagic1:i386 (1:5.34-2) ... Setting up libgraphite2-3:i386 (1.3.12-1) ... Setting up libcroco3:i386 (0.6.12-3) ... Setting up pkg-config (0.29.1-0ubuntu2) ... Setting up libjbig2dec0:i386 (0.15-2) ... Setting up libpixman-1-0:i386 (0.36.0-1) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up dwz (0.12-3) ... Setting up autotools-dev (20180224.1) ... Setting up t1utils (1.41-3) ... Processing triggers for systemd (239-7ubuntu15) ... Setting up libijs-0.35:i386 (0.35-13) ... Setting up libexpat1-dev:i386 (2.2.6-1) ... Setting up libpotrace0:i386 (1.15-1) ... Setting up libpcrecpp0v5:i386 (2:8.39-11) ... Setting up libpcre32-3:i386 (2:8.39-11) ... Setting up libteckit0:i386 (2.5.8+ds2-5ubuntu1) ... Setting up libpcre16-3:i386 (2:8.39-11) ... Setting up libxdmcp6:i386 (1:1.1.2-3) ... Setting up libkeyutils1:i386 (1.5.9-9.3) ... Setting up bsdmainutils (11.1.2ubuntu2) ... 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 x11-common (1:7.7+19ubuntu8) ... 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 libzzip-0-13:i386 (0.13.62-3.1ubuntu1) ... Setting up xdg-utils (1.1.3-1ubuntu2) ... Setting up libncurses-dev:i386 (6.1+20180210-4ubuntu1) ... Setting up libfindlib-ocaml (1.7.3-2) ... Setting up libtexluajit2:i386 (2018.20181218.49446-1) ... Setting up ocaml-findlib (1.7.3-2) ... Setting up libx11-data (2:1.6.7-1) ... Setting up libpython2.7-stdlib:i386 (2.7.15-5) ... Setting up libxau6:i386 (1:1.0.8-1) ... Setting up autopoint (0.19.8.1-9) ... Setting up libmpdec2:i386 (2.4.2-2) ... Setting up libdbus-1-3:i386 (1.12.10-1ubuntu2) ... Setting up fonts-lmodern (2.004.5-5) ... Setting up libavahi-common-data:i386 (0.7-4ubuntu4) ... Setting up libwebp6:i386 (0.6.1-2) ... Setting up libfile-stripnondeterminism-perl (1.0.0-1) ... Setting up libjpeg8:i386 (8c-2ubuntu8) ... Setting up libpaper1:i386 (1.1.26) ... Creating config file /etc/papersize with new version Setting up libk5crypto3:i386 (1.16.2-1) ... Setting up libpaper-utils (1.1.26) ... Setting up libpcre3-dev:i386 (2:8.39-11) ... Setting up libpython3.7-stdlib:i386 (3.7.2-1) ... Setting up fontconfig-config (2.13.0-5ubuntu3) ... Setting up libparmap-ocaml (1.0~rc10-1) ... Setting up tex-common (6.10) ... update-language: texlive-base not installed and configured, doing nothing! Setting up gettext (0.19.8.1-9) ... Setting up groff-base (1.22.4-2) ... Setting up python2.7 (2.7.15-5) ... Setting up libharfbuzz0b:i386 (2.3.0-1) ... Setting up libtiff5:i386 (4.0.10-3) ... Setting up preview-latex-style (11.91-1ubuntu1) ... Setting up python3.7 (3.7.2-1) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.34-2) ... Setting up libncurses5-dev:i386 (6.1+20180210-4ubuntu1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up libpython2.7:i386 (2.7.15-5) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up netpbm (2:10.0-15.3build1) ... Setting up libice6:i386 (2:1.0.9-2) ... Setting up man-db (2.8.5-1) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up libpython2-stdlib:i386 (2.7.15-3) ... Setting up libkrb5-3:i386 (1.16.2-1) ... Setting up libpython2.7-dev:i386 (2.7.15-5) ... Setting up libavahi-common3:i386 (0.7-4ubuntu4) ... Setting up python2.7-dev (2.7.15-5) ... Setting up libxcb1:i386 (1.13.1-2) ... Setting up libtool (2.4.6-6) ... Setting up libpython3-stdlib:i386 (3.7.1-1ubuntu1) ... Setting up libfontconfig1:i386 (2.13.0-5ubuntu3) ... Setting up libsm6:i386 (2:1.2.2-1) ... Setting up libxcb-render0:i386 (1.13.1-2) ... Setting up libharfbuzz-icu0:i386 (2.3.0-1) ... Setting up po-debconf (1.0.21) ... Setting up python3 (3.7.1-1ubuntu1) ... Setting up libx11-6:i386 (2:1.6.7-1) ... Setting up libpycaml-ocaml (0.82-15build1) ... Setting up python2 (2.7.15-3) ... Setting up libgssapi-krb5-2:i386 (1.16.2-1) ... Setting up libpython2-dev:i386 (2.7.15-3) ... Setting up libpython-stdlib:i386 (2.7.15-3) ... Setting up python2-dev (2.7.15-3) ... Setting up libxcb-shm0:i386 (1.13.1-2) ... 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.7-4ubuntu4) ... Setting up python3-lib2to3 (3.7.2-2) ... Setting up python3-distutils (3.7.2-2) ... Setting up python (2.7.15-3) ... Setting up libcups2:i386 (2.2.10-3) ... Setting up libpython-dev:i386 (2.7.15-3) ... Setting up libxext6:i386 (2:1.3.3-1) ... Setting up python-dev (2.7.15-3) ... Setting up libxmu6:i386 (2:1.1.2-2) ... Setting up libcupsimage2:i386 (2.2.10-3) ... Setting up libgs9:i386 (9.26~dfsg+0-0ubuntu3) ... Setting up dh-python (3.20180927ubuntu2) ... Setting up libxi6:i386 (2:1.7.9-1) ... Setting up libxaw7:i386 (2:1.0.13-1) ... Setting up libcairo2:i386 (1.16.0-2) ... Setting up ghostscript (9.26~dfsg+0-0ubuntu3) ... Setting up texlive-binaries (2018.20181218.49446-1) ... 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 (2018.20181214-1) ... tl-paper: setting paper size for dvips to a4: /var/lib/texmf/dvips/config/config-paper.ps tl-paper: setting paper size for dvipdfmx to a4: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg tl-paper: setting paper size for xdvi to a4: /var/lib/texmf/xdvi/XDvi-paper tl-paper: setting paper size for pdftex to a4: /var/lib/texmf/tex/generic/config/pdftexconfig.tex tl-paper: setting paper size for dvipdfmx to letter: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg tl-paper: setting paper size for dvips to letter: /var/lib/texmf/dvips/config/config-paper.ps tl-paper: setting paper size for pdftex to letter: /var/lib/texmf/tex/generic/config/pdftexconfig.tex tl-paper: setting paper size for xdvi to letter: /var/lib/texmf/xdvi/XDvi-paper Setting up texlive-fonts-recommended (2018.20181214-1) ... Setting up texlive-latex-base (2018.20181214-1) ... Setting up texlive-latex-recommended (2018.20181214-1) ... Setting up texlive-fonts-extra (2018.20181214-1) ... Setting up texlive-pictures (2018.20181214-1) ... Setting up hevea (2.32-2) ... Setting up latexmk (1:4.61-0.1) ... Setting up texlive-latex-extra (2018.20181214-1) ... Setting up ocaml-compiler-libs (4.05.0-10ubuntu2) ... Setting up dh-autoreconf (19) ... Setting up ocaml-interp (4.05.0-10ubuntu2) ... Setting up dh-strip-nondeterminism (1.0.0-1) ... Setting up debhelper (12ubuntu1) ... Setting up ocaml-nox (4.05.0-10ubuntu2) ... Setting up libmenhir-ocaml-dev (20181113-1) ... Setting up libparmap-ocaml-dev (1.0~rc10-1) ... 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) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Processing triggers for systemd (239-7ubuntu15) ... Processing triggers for tex-common (6.10) ... 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. +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-141-generic amd64 (i686) Toolchain package versions: binutils_2.31.1-11ubuntu1 dpkg-dev_1.19.2ubuntu2 g++-8_8.2.0-13ubuntu1 gcc-8_8.2.0-13ubuntu1 libc6-dev_2.28-0ubuntu1 libstdc++-8-dev_8.2.0-13ubuntu1 libstdc++6_8.2.0-13ubuntu1 linux-libc-dev_4.19.0-9.10 Package versions: adduser_3.117ubuntu1 advancecomp_2.1-1 apt_1.8.0~alpha3 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.1ubuntu8 base-passwd_3.5.45 bash_4.4.18-2ubuntu3 binutils_2.31.1-11ubuntu1 binutils-common_2.31.1-11ubuntu1 binutils-i686-linux-gnu_2.31.1-11ubuntu1 bsdmainutils_11.1.2ubuntu2 bsdutils_1:2.32-0.1ubuntu2 build-essential_12.5ubuntu2 bzip2_1.0.6-9 ca-certificates_20180409 camlp4_4.05+1-2 coreutils_8.28-1ubuntu2 cpp_4:8.2.0-2ubuntu2 cpp-8_8.2.0-13ubuntu1 dash_0.5.10.2-4 debconf_1.5.69 debhelper_12ubuntu1 debianutils_4.8.6 dh-autoreconf_19 dh-ocaml_1.1.0 dh-python_3.20180927ubuntu2 dh-strip-nondeterminism_1.0.0-1 diffutils_1:3.6-1 dmsetup_2:1.02.145-4.1ubuntu4 dpkg_1.19.2ubuntu2 dpkg-dev_1.19.2ubuntu2 dwz_0.12-3 e2fslibs_1.44.5-1 e2fsprogs_1.44.5-1 fakeroot_1.23-1 fdisk_2.32-0.1ubuntu2 file_1:5.34-2 findutils_4.6.0+git+20181018-1 fontconfig-config_2.13.0-5ubuntu3 fonts-dejavu-core_2.37-1 fonts-lmodern_2.004.5-5 g++_4:8.2.0-2ubuntu2 g++-8_8.2.0-13ubuntu1 gcc_4:8.2.0-2ubuntu2 gcc-8_8.2.0-13ubuntu1 gcc-8-base_8.2.0-13ubuntu1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 ghostscript_9.26~dfsg+0-0ubuntu3 gpg_2.2.8-3ubuntu1 gpg-agent_2.2.8-3ubuntu1 gpgconf_2.2.8-3ubuntu1 gpgv_2.2.8-3ubuntu1 grep_3.1-3 groff-base_1.22.4-2 gzip_1.6-5ubuntu2 hevea_2.32-2 hostname_3.21 init_1.56+nmu1 init-system-helpers_1.56+nmu1 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 latexmk_1:4.61-0.1 libacl1_2.2.52-3build1 libapparmor1_2.12-4ubuntu10 libapt-pkg5.0_1.8.0~alpha3 libarchive-zip-perl_1.64-1 libargon2-1_0~20171227-0.1 libasan5_8.2.0-13ubuntu1 libassuan0_2.5.2-1 libatomic1_8.2.0-13ubuntu1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.8.3-1ubuntu3 libaudit1_1:2.8.3-1ubuntu3 libavahi-client3_0.7-4ubuntu4 libavahi-common-data_0.7-4ubuntu4 libavahi-common3_0.7-4ubuntu4 libbinutils_2.31.1-11ubuntu1 libblkid1_2.32-0.1ubuntu2 libbrotli1_1.0.7-1 libbsd0_0.9.1-1 libbz2-1.0_1.0.6-9 libc-bin_2.28-0ubuntu1 libc-dev-bin_2.28-0ubuntu1 libc6_2.28-0ubuntu1 libc6-dev_2.28-0ubuntu1 libcairo2_1.16.0-2 libcamlp4-ocaml-dev_4.05+1-2 libcap-ng0_0.7.9-1build1 libcap2_1:2.25-1.2 libcc1-0_8.2.0-13ubuntu1 libcom-err2_1.44.5-1 libcomerr2_1.44.5-1 libcroco3_0.6.12-3 libcryptsetup12_2:2.0.4-2ubuntu2 libcups2_2.2.10-3 libcupsimage2_2.2.10-3 libdb5.3_5.3.28+dfsg1-0.2 libdbus-1-3_1.12.10-1ubuntu2 libdebconfclient0_0.244ubuntu1 libdevmapper1.02.1_2:1.02.145-4.1ubuntu4 libdpkg-perl_1.19.2ubuntu2 libelf1_0.175-2 libexpat1_2.2.6-1 libexpat1-dev_2.2.6-1 libext2fs2_1.44.5-1 libfakeroot_1.23-1 libfdisk1_2.32-0.1ubuntu2 libffi6_3.2.1-9 libfile-stripnondeterminism-perl_1.0.0-1 libfindlib-ocaml_1.7.3-2 libfontconfig1_2.13.0-5ubuntu3 libfreetype6_2.8.1-2ubuntu2 libgcc-8-dev_8.2.0-13ubuntu1 libgcc1_1:8.2.0-13ubuntu1 libgcrypt20_1.8.4-3ubuntu1 libgdbm-compat4_1.18.1-2 libgdbm6_1.18.1-2 libglib2.0-0_2.58.1-2 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.5-2ubuntu1 libgomp1_8.2.0-13ubuntu1 libgpg-error0_1.33-3 libgraphite2-3_1.3.12-1 libgs9_9.26~dfsg+0-0ubuntu3 libgs9-common_9.26~dfsg+0-0ubuntu3 libgssapi-krb5-2_1.16.2-1 libharfbuzz-icu0_2.3.0-1 libharfbuzz0b_2.3.0-1 libhogweed4_3.4.1~rc1-1 libice6_2:1.0.9-2 libicu63_63.1-5 libidn11_1.33-2.2ubuntu1 libidn2-0_2.0.5-1 libijs-0.35_0.35-13 libip4tc0_1.6.1-2ubuntu3 libisl19_0.20-2 libitm1_8.2.0-13ubuntu1 libjbig0_2.1-3.1build1 libjbig2dec0_0.15-2 libjpeg-turbo8_2.0.0-0ubuntu2 libjpeg8_8c-2ubuntu8 libjson-c3_0.12.1-1.3 libk5crypto3_1.16.2-1 libkeyutils1_1.5.9-9.3 libkmod2_25-1ubuntu2 libkpathsea6_2018.20181218.49446-1 libkrb5-3_1.16.2-1 libkrb5support0_1.16.2-1 liblockfile-bin_1.14-1.1 liblockfile1_1.14-1.1 liblz4-1_1.8.2-1ubuntu1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.34-2 libmagic1_1:5.34-2 libmenhir-ocaml-dev_20181113-1 libmount1_2.32-0.1ubuntu2 libmpc3_1.1.0-1 libmpdec2_2.4.2-2 libmpfr6_4.0.1-2 libmpx2_8.2.0-13ubuntu1 libncurses-dev_6.1+20180210-4ubuntu1 libncurses5-dev_6.1+20180210-4ubuntu1 libncurses6_6.1+20180210-4ubuntu1 libncursesw6_6.1+20180210-4ubuntu1 libnetpbm10_2:10.0-15.3build1 libnettle6_3.4.1~rc1-1 libnpth0_1.6-1 libp11-kit0_0.23.14-2 libpam-modules_1.1.8-3.6ubuntu2 libpam-modules-bin_1.1.8-3.6ubuntu2 libpam-runtime_1.1.8-3.6ubuntu2 libpam0g_1.1.8-3.6ubuntu2 libpaper-utils_1.1.26 libpaper1_1.1.26 libparmap-ocaml_1.0~rc10-1 libparmap-ocaml-dev_1.0~rc10-1 libpcre-ocaml_7.2.3-2build1 libpcre-ocaml-dev_7.2.3-2build1 libpcre16-3_2:8.39-11 libpcre3_2:8.39-11 libpcre3-dev_2:8.39-11 libpcre32-3_2:8.39-11 libpcrecpp0v5_2:8.39-11 libperl5.28_5.28.1-3 libpipeline1_1.5.0-2 libpixman-1-0_0.36.0-1 libpng16-16_1.6.36-2 libpotrace0_1.15-1 libprocps7_2:3.3.15-2ubuntu1 libptexenc1_2018.20181218.49446-1 libpycaml-ocaml_0.82-15build1 libpycaml-ocaml-dev_0.82-15build1 libpython-dev_2.7.15-3 libpython-stdlib_2.7.15-3 libpython2-dev_2.7.15-3 libpython2-stdlib_2.7.15-3 libpython2.7_2.7.15-5 libpython2.7-dev_2.7.15-5 libpython2.7-minimal_2.7.15-5 libpython2.7-stdlib_2.7.15-5 libpython3-stdlib_3.7.1-1ubuntu1 libpython3.7-minimal_3.7.2-1 libpython3.7-stdlib_3.7.2-1 libquadmath0_8.2.0-13ubuntu1 libreadline7_7.0-5 libseccomp2_2.3.3-3ubuntu2 libselinux1_2.8-1build2 libsemanage-common_2.8-2 libsemanage1_2.8-2 libsepol1_2.8-1 libsigsegv2_2.12-2 libslang2_2.3.2-1ubuntu1 libsm6_2:1.2.2-1 libsmartcols1_2.32-0.1ubuntu2 libsqlite3-0_3.26.0+fossilbc891ac6b-1 libss2_1.44.5-1 libssl1.1_1.1.1a-1ubuntu2 libstdc++-8-dev_8.2.0-13ubuntu1 libstdc++6_8.2.0-13ubuntu1 libsynctex2_2018.20181218.49446-1 libsystemd0_239-7ubuntu15 libtasn1-6_4.13-3 libteckit0_2.5.8+ds2-5ubuntu1 libtexlua52_2018.20181218.49446-1 libtexlua53_2018.20181218.49446-1 libtexluajit2_2018.20181218.49446-1 libtiff5_4.0.10-3 libtinfo6_6.1+20180210-4ubuntu1 libtool_2.4.6-6 libubsan1_8.2.0-13ubuntu1 libuchardet0_0.0.6-3 libudev1_239-7ubuntu15 libunistring2_0.9.10-1ubuntu1 libusb-0.1-4_2:0.1.12-32 libuuid1_2.32-0.1ubuntu2 libwebp6_0.6.1-2 libwoff1_1.0.2-1build1 libx11-6_2:1.6.7-1 libx11-data_2:1.6.7-1 libxau6_1:1.0.8-1 libxaw7_2:1.0.13-1 libxcb-render0_1.13.1-2 libxcb-shm0_1.13.1-2 libxcb1_1.13.1-2 libxdmcp6_1:1.1.2-3 libxext6_2:1.3.3-1 libxi6_2:1.7.9-1 libxml2_2.9.4+dfsg1-7ubuntu3 libxmu6_2:1.1.2-2 libxpm4_1:3.5.12-1 libxrender1_1:0.9.10-1 libxt6_1:1.1.5-1 libxxhash0_0.6.5-2 libzstd1_1.3.8+dfsg-3 libzzip-0-13_0.13.62-3.1ubuntu1 linux-libc-dev_4.19.0-9.10 lockfile-progs_0.1.18 login_1:4.5-1ubuntu1 lsb-base_9.20170808ubuntu1 m4_1.4.18-2 make_4.2.1-1.2 man-db_2.8.5-1 mawk_1.3.3-17ubuntu3 menhir_20181113-1 mime-support_3.60ubuntu1 mount_2.32-0.1ubuntu2 multiarch-support_2.28-0ubuntu1 ncurses-base_6.1+20180210-4ubuntu1 ncurses-bin_6.1+20180210-4ubuntu1 netpbm_2:10.0-15.3build1 ocaml-base-nox_4.05.0-10ubuntu2 ocaml-compiler-libs_4.05.0-10ubuntu2 ocaml-findlib_1.7.3-2 ocaml-interp_4.05.0-10ubuntu2 ocaml-nox_4.05.0-10ubuntu2 openssl_1.1.1a-1ubuntu2 optipng_0.7.6-1.1 passwd_1:4.5-1ubuntu1 patch_2.7.6-3 perl_5.28.1-3 perl-base_5.28.1-3 perl-modules-5.28_5.28.1-3 pinentry-curses_1.1.0-1build2 pkg-config_0.29.1-0ubuntu2 pkgbinarymangler_143 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 poppler-data_0.4.9-2 preview-latex-style_11.91-1ubuntu1 procps_2:3.3.15-2ubuntu1 python_2.7.15-3 python-dev_2.7.15-3 python-minimal_2.7.15-3 python2_2.7.15-3 python2-dev_2.7.15-3 python2-minimal_2.7.15-3 python2.7_2.7.15-5 python2.7-dev_2.7.15-5 python2.7-minimal_2.7.15-5 python3_3.7.1-1ubuntu1 python3-distutils_3.7.2-2 python3-lib2to3_3.7.2-2 python3-minimal_3.7.1-1ubuntu1 python3.7_3.7.2-1 python3.7-minimal_3.7.2-1 readline-common_7.0-5 sbuild-build-depends-coccinelle-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 systemd_239-7ubuntu15 systemd-sysv_239-7ubuntu15 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.10ubuntu2 t1utils_1.41-3 tar_1.30+dfsg-4 tex-common_6.10 texlive-base_2018.20181214-1 texlive-binaries_2018.20181218.49446-1 texlive-fonts-extra_2018.20181214-1 texlive-fonts-recommended_2018.20181214-1 texlive-latex-base_2018.20181214-1 texlive-latex-extra_2018.20181214-1 texlive-latex-recommended_2018.20181214-1 texlive-pictures_2018.20181214-1 tzdata_2018i-1 ubuntu-keyring_2018.09.18.1 ucf_3.0038+nmu1 util-linux_2.32-0.1ubuntu2 x11-common_1:7.7+19ubuntu8 xdg-utils_1.1.3-1ubuntu2 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Sun Jan 6 18:02:39 2019 UTC gpgv: using RSA key AC9D68316918E4C026567767C16DA8E7F451B93C gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./coccinelle_1.0.4.deb-4.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-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying pdf-docs-build.diff dpkg-source: info: applying notparallel-main-makefile.diff dpkg-source: info: applying bash-completion-dir.diff dpkg-source: info: applying manual-build-fix.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-16242190 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-16242190 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-16242190 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-4 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build . 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 Sun, 06 Jan 2019 23:12:48 +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 /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/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c oarray.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dynArray.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/suffix_tree_ext.ml 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 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 oarray.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 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 iteration.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 -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 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 id_utils.mli /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 data.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/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 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/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 lexer_parser.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c ast_c.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/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/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 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 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 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 classic_patch.ml /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 -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 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 prepare_ocamlcocci.mli /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. skipped building flag_parsing_cocci.cmo in optimizing mode: flag_parsing_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 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 unparse_cocci.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 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' 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/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. 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 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/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 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 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) /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... 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-7795-8a9ffa-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-7795-f119c7-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-7795-b2374d-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-7795-248866-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-7795-f94f72-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-7795-1ac53f-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { + foo(); goto out; } after(); addbeforeafter.res diff = --- tests/addbeforeafter.c +++ /tmp/cocci-output-7795-3b945e-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-7795-3a127e-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; } addfield.res diff = --- tests/addfield.c +++ /tmp/cocci-output-7795-3881b0-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-7795-95f3ff-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-7795-bb857c-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-7795-077ca7-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-7795-5d7205-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-7795-69fa8b-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-7795-2ed41f-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-7795-df8e09-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-7795-f716bb-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-7795-008f16-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-7795-6f02c1-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-7795-0e89d5-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; out: - return 0; + return 100; } allex3.res diff = --- tests/allex3.c +++ /tmp/cocci-output-7795-e08610-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; out: - return 0; } anon.res diff = --- tests/anon.c +++ /tmp/cocci-output-7795-3a8a47-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-7795-bf3566-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-7795-4fcf3c-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-7795-ce909d-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-7795-f8966e-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-7795-3bffdb-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-7795-dced6b-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-7795-2568eb-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-7795-ab0661-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-7795-ad4922-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-7795-b57a4b-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-7795-75ddc0-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-7795-e346d0-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-7795-c6b21f-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-7795-d997d6-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-7795-388b1d-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-7795-276a75-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-7795-d40416-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-7795-25f80a-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-7795-1a0936-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-7795-66496c-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-7795-a5e8c4-before.c @@ -1,4 +1,6 @@ int main () { + blah(); one(); + blah(); foo(); } ben.res diff = --- tests/ben.c +++ /tmp/cocci-output-7795-3d85b5-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-7795-9e89ed-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) blah(); + bar(); foo(); } bigrepl.res diff = --- tests/bigrepl.c +++ /tmp/cocci-output-7795-e11ad9-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-7795-b1d764-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-7795-bf4890-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-7795-1597a2-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; int b; } braces.res diff = --- tests/braces.c +++ /tmp/cocci-output-7795-fb827c-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-7795-b73fb2-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-7795-a50270-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-7795-2c3848-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-7795-2da979-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-7795-8249d9-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-7795-45c007-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-7795-820e51-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-7795-e6dafb-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; } cast_iso.res diff = --- tests/cast_iso.c +++ /tmp/cocci-output-7795-a9c9e0-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-7795-02a847-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-7795-dced43-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-7795-21b558-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-7795-67e1bb-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-7795-838725-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-7795-b145d8-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-7795-0b4bd8-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-7795-d22124-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-7795-6b2f29-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-7795-20d3c3-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-7795-26dadb-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-7795-33e5be-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-7795-a6238d-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-7795-6b315a-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-7795-0b00b3-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-7795-e2356b-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-7795-bc7000-constrem.c @@ -1,3 +1 @@ -static const int a; -static const int (*f)(const int); constructor.res diff = --- tests/constructor.c +++ /tmp/cocci-output-7795-c87b5e-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-7795-4514cc-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-7795-28c459-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-7795-9dc7ff-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c +++ /tmp/cocci-output-7795-6e1987-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-7795-9e7562-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-7795-af9d07-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-7795-d0a4bb-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-7795-8cd678-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-7795-9c56f7-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-7795-1b1145-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-7795-ac73b1-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-7795-c9f265-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-7795-6db5d7-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-7795-f02b96-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-7795-bab5d7-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-7795-b420bd-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-7795-ac4627-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-7795-1b9e85-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-7795-b7e316-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c +++ /tmp/cocci-output-7795-5cdbe8-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-7795-2948d5-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-7795-6f0bec-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-7795-84bc1b-delp.c @@ -1,4 +1,4 @@ int main () { return - (foo); + foo; } deref.res diff = --- tests/deref.c +++ /tmp/cocci-output-7795-213213-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-7795-74ef06-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-7795-967a1f-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-7795-8df37c-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-7795-28cf5d-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-7795-529628-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-7795-ae9201-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-7795-d3f908-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-7795-e70825-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-7795-63e577-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-7795-7426df-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-7795-0d9db8-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-7795-88696e-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-7795-1fe980-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-7795-41dc33-dowhile.c @@ -1,7 +1,5 @@ int main() { do { - f(); } while (0); - g(); } dropbr.res diff = --- tests/dropbr.c +++ /tmp/cocci-output-7795-00bf98-dropbr.c @@ -1,5 +1,3 @@ int main () { - if (a) { - bar(); - } + if (a)foo(); } dropcom.res diff = --- tests/dropcom.c +++ /tmp/cocci-output-7795-15de81-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-7795-446de4-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-7795-0a7944-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-7795-dfa721-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-7795-d7c334-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-7795-34a0f5-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-7795-b79fc1-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-7795-7ad0b5-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-7795-a3e4c2-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-7795-94c421-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-7795-d5083e-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-7795-addcf9-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_dd193b.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_dd193b.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-7795-3c3f01-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-7795-95d3e2-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_b6b5ff.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_b6b5ff.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-7795-7a04dc-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-7795-d2a8c2-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-7795-151003-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-7795-4b475c-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-7795-1c05a4-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-7795-41bc88-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-7795-5229c1-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-7795-ff71bc-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-7795-c3ce4d-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_eff0de.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_eff0de.ml File "/tmp/ocaml_cocci_eff0de.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-7795-e962cd-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-7795-da5634-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-7795-f967ab-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-7795-2a3eb4-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-7795-cac31d-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-7795-131347-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-7795-9c5b54-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-7795-55dbc6-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-7795-75e5fa-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c +++ /tmp/cocci-output-7795-c2e9ee-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-7795-4dcdeb-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_1a8cc2.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_1a8cc2.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-7795-71ab36-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-7795-9a415f-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-7795-66a84b-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-7795-a2195a-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-7795-0e77b9-four.c @@ -1,5 +1,3 @@ int main () { f(1); - h(2); - i(2); } foura.res diff = --- tests/foura.c +++ /tmp/cocci-output-7795-75860d-foura.c @@ -1,5 +1,4 @@ int main () { f(1); h(2); - i(2); } fp.res diff = --- tests/fp.c +++ /tmp/cocci-output-7795-e6c8d5-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); } fsh.res diff = --- tests/fsh.c +++ /tmp/cocci-output-7795-54cfcf-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-7795-ee851f-fun.c @@ -1 +1,4 @@ +struct a { + int a; +}; int f(int x) { return x; } func.res diff = --- tests/func.c +++ /tmp/cocci-output-7795-554d69-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-7795-59bd4c-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-7795-8c8d86-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-7795-59c1bd-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-7795-f06537-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-7795-86ec8e-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-7795-5cecf3-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-7795-6cdc75-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); } hil1.res diff = --- tests/hil1.c +++ /tmp/cocci-output-7795-4f54d3-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-7795-35803b-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-7795-26a7df-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-7795-02370b-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-7795-d15649-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-7795-80c203-ifdef1.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#include +#endif #include #include ifdef2.res diff = --- tests/ifdef2.c +++ /tmp/cocci-output-7795-f3fea7-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-7795-94624c-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-7795-8c6ff6-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-7795-927e7d-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-7795-c32e10-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-7795-b43676-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-7795-53a54c-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-7795-a424a0-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-7795-240546-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 - - - +5 - - - - - +2 - ); } ifdefmeta3.res diff = --- tests/ifdefmeta3.c +++ /tmp/cocci-output-7795-775ecd-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-7795-b21e7d-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-7795-c03206-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-7795-fc67b4-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-7795-05210d-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-7795-d39ffd-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-7795-e95cd9-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-7795-ff5af4-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-7795-1282ed-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-7795-e9b6ad-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-7795-42d93a-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-7795-bcbb87-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-7795-67c9da-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-7795-95f7a6-inclifdef.c @@ -1,4 +1,5 @@ #include +#include #ifdef CONFIG #include #endif include.res diff = --- tests/include.c +++ /tmp/cocci-output-7795-9b081d-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-7795-72804e-incpos.c @@ -1,3 +1,4 @@ +#include #include #include "two" #include incpos1.res diff = --- tests/incpos1.c +++ /tmp/cocci-output-7795-81d338-incpos1.c @@ -1,3 +1,4 @@ +#include #include "two" #include #include "four" inherited.res diff = --- tests/inherited.c +++ /tmp/cocci-output-7795-51038c-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-7795-a552d9-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-7795-bbcfe1-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; + foo(); } inhpos.res diff = --- tests/inhpos.c +++ /tmp/cocci-output-7795-53003d-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-7795-b6a79e-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-7795-0dbbf4-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c +++ /tmp/cocci-output-7795-ba3810-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include int2bool-local.res diff = --- tests/int2bool-local.c +++ /tmp/cocci-output-7795-8ea7df-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-7795-8d96b5-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-7795-8c3850-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; + x = z + y; } ip.res diff = --- tests/ip.c +++ /tmp/cocci-output-7795-843ffd-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-7795-a09239-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-7795-2668c4-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-7795-7aedcc-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-7795-5d14a1-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-7795-a9510f-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-7795-449166-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-7795-d2079a-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-7795-378fbd-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); - h(); g(); - h(); } julia7.res diff = --- tests/julia7.c +++ /tmp/cocci-output-7795-ca07b7-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-7795-50f94e-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-7795-168178-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-7795-d61b99-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-7795-8a3ec8-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-7795-746abc-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-7795-f42fee-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-7795-c3fd11-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-7795-dcee42-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-7795-83521b-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-7795-4e98c1-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-7795-686411-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-7795-289c10-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-7795-9ec64e-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-7795-4e6fc7-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-7795-175fc7-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-7795-48ada0-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-7795-2ce495-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { int main () { - f("foo"); } longconst.res diff = --- tests/longconst.c +++ /tmp/cocci-output-7795-944ff8-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-7795-2df9b6-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-7795-0993bb-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-7795-2b6139-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-7795-1c057b-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-7795-9023e7-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-7795-782af6-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-7795-185bca-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-7795-a25272-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-7795-d515c0-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-7795-ac3f21-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-7795-5c83a7-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_66432d.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_66432d.ml File "/tmp/ocaml_cocci_66432d.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-7795-a79394-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_4628d1.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_4628d1.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_25fbd3.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_25fbd3.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-7795-e4dc01-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-7795-8f8acc-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-7795-3d114f-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-7795-ac11ff-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-7795-5baa68-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-7795-e0bb07-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-7795-20d091-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-7795-82775c-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-7795-264053-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-7795-efda91-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-7795-d64cbe-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-7795-d2f745-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-7795-2baf74-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-7795-3a281d-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-7795-399266-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-7795-34cba0-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-7795-125526-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-7795-a3adcd-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-7795-81d860-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-7795-8104e2-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-7795-bebf1c-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-7795-5c41a4-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-7795-80c642-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-7795-897b0c-multistruct.c @@ -1,5 +1,3 @@ -struct one x; -struct two y; struct three z; multitype.res diff = --- tests/multitype.c +++ /tmp/cocci-output-7795-18aad6-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-7795-2bc4e5-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-7795-d55bf2-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-7795-02f7f4-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-7795-173f59-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-7795-ed9aab-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-7795-9515fc-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} - yyy(); } nestseq.res diff = --- tests/nestseq.c +++ /tmp/cocci-output-7795-a4ae2d-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); h(); + xxx(12); } neststruct.res diff = --- tests/neststruct.c +++ /tmp/cocci-output-7795-73ded3-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-7795-8acae2-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-7795-68234a-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-7795-7dce1b-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-7795-60909a-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-7795-e7b130-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-7795-a6a5c1-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-7795-9917ca-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } + g(); } noty2.res diff = --- tests/noty2.c +++ /tmp/cocci-output-7795-9c37c6-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-7795-6ccad2-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-7795-d0040a-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-7795-9cc27d-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-7795-c176e6-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-7795-97e03c-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); - f(); + g(); + g(); } opt.res diff = --- tests/opt.c +++ /tmp/cocci-output-7795-f9231a-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); } optional_qualifier.res diff = --- tests/optional_qualifier.c +++ /tmp/cocci-output-7795-f634eb-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-7795-cc5eb8-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) { } orexp.res diff = --- tests/orexp.c +++ /tmp/cocci-output-7795-f70a4d-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-7795-97a3ce-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-7795-173e24-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-7795-f15a7a-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-7795-06c409-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-7795-9aff3c-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-7795-304607-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-7795-52815b-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c +++ /tmp/cocci-output-7795-37c976-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-7795-d2e8d6-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-7795-f6e419-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-7795-33dba4-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-7795-c15e92-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-7795-29a307-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-7795-0f490a-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-7795-cc5330-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-7795-942254-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-7795-267afe-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-7795-1ee017-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-7795-2ed3be-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-7795-a834c7-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-7795-10eaa8-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-7795-32269d-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-7795-e7c86d-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-7795-e7d25d-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-7795-9433ca-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-7795-0a7f48-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-7795-b3e6d3-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-7795-c08f0a-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-7795-331d7f-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-7795-1b0d90-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-7795-75bff7-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-7795-9b006e-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-7795-09f90b-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-7795-295f61-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) { foo(); } yyy(); } rem2.res diff = --- tests/rem2.c +++ /tmp/cocci-output-7795-f4db1f-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) foo(); yyy(); } remaft.res diff = --- tests/remaft.c +++ /tmp/cocci-output-7795-d0e617-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-7795-ff3f84-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-7795-a63c13-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-7795-77a280-rems.c @@ -1,5 +1,4 @@ int main () { x(); - if (x) a(); y(); } rems1.res diff = --- tests/rems1.c +++ /tmp/cocci-output-7795-544cd1-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-7795-84f0ad-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-7795-770b48-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-7795-16cdfe-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-7795-da3031-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-7795-3dde57-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-7795-8501b8-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-7795-1a1730-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { foo(); + return -ENODEV; } retval.res diff = --- tests/retval.c +++ /tmp/cocci-output-7795-5d6fa2-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-7795-2165db-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-7795-3da51a-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-7795-95d1eb-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-7795-4de456-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-7795-f8c6c7-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-7795-432958-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-7795-eee232-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-7795-00ca49-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-7795-304238-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-7795-e3939d-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-7795-84414f-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-7795-8cf1ec-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); - f(2); - g(); + h(); } sl2.res diff = --- tests/sl2.c +++ /tmp/cocci-output-7795-184cc0-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_75b2a1.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_75b2a1.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-7795-a0ecc6-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-7795-c4efa9-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-7795-0f94bf-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-7795-d398ef-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-7795-52ffb5-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-7795-c6b361-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-7795-196f41-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-7795-410350-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-7795-a5a71f-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-7795-bf83ec-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); - replace(); g(); } stm3.res diff = --- tests/stm3.c +++ /tmp/cocci-output-7795-23af9d-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); g(); } stm4.res diff = --- tests/stm4.c +++ /tmp/cocci-output-7795-663103-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); g(); + g(); } stm5.res diff = --- tests/stm5.c +++ /tmp/cocci-output-7795-c623c7-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); + h(); replace(); g(); + g(); } stm6.res diff = --- tests/stm6.c +++ /tmp/cocci-output-7795-44570a-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-7795-d6d542-stm8.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); replace(); g(); } stmt.res diff = --- tests/stmt.c +++ /tmp/cocci-output-7795-3e4ef2-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-7795-5f9c8a-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-7795-12d4e9-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-7795-5f79f8-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-7795-0fceda-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-7795-e1d58a-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-7795-161580-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-7795-1b59c2-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-7795-baced5-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-7795-340418-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-7795-2b20bc-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c +++ /tmp/cocci-output-7795-d5b886-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-7795-c1f176-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-7795-702b1d-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-7795-11e7f0-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; - f = 3; - return f; } td.res diff = --- tests/td.c +++ /tmp/cocci-output-7795-d9885a-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-7795-78e942-tdnl.c @@ -4,5 +4,4 @@ void main() { td2.attr; - foo(); } tern.res diff = --- tests/tern.c +++ /tmp/cocci-output-7795-380ec6-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-7795-df2c54-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-7795-a1597c-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-7795-ba6556-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-7795-9327c3-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-7795-eed9fa-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-7795-8e31de-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-7795-5e6760-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-7795-8257e8-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-7795-8ab2be-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-7795-7ca216-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-7795-8c7359-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-7795-c26b23-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-7795-a4647d-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-7795-1f4a80-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-7795-4e2452-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-7795-88d47b-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-7795-d89b3e-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-7795-39d64c-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-7795-f14eec-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-7795-bf84e1-threea.c @@ -1,4 +1,3 @@ int main() { f(12); - q(12); } top.res diff = --- tests/top.c +++ /tmp/cocci-output-7795-09eeaf-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); topdec.res diff = --- tests/topdec.c +++ /tmp/cocci-output-7795-d2eeb7-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-7795-8e8ca7-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-7795-0fd6f6-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-7795-e6e3ff-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-7795-6e99c0-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-7795-4f66cf-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-7795-8f1864-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); - xxx(12,1); + yyy(); } twoproto.res diff = --- tests/twoproto.c +++ /tmp/cocci-output-7795-275bea-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-7795-e73bfa-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-7795-5af327-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-7795-6df102-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-7795-ff9127-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-7795-6f9466-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-7795-af8e3f-type.c @@ -1,5 +1,5 @@ int foo() { - int x; + int *x; return 0; } type1.res diff = --- tests/type1.c +++ /tmp/cocci-output-7795-29f056-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-7795-765825-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-7795-1e835a-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-7795-c2e823-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-7795-025823-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-7795-673a19-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-7795-5cbfe6-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-7795-b498ca-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-7795-92e01b-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-7795-b886ab-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-7795-77c255-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-7795-eb666d-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-7795-71e93b-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { + return NULL; } varargs3.res diff = --- tests/varargs3.c +++ /tmp/cocci-output-7795-f07c66-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-7795-0570a3-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-7795-896bd8-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-7795-38d360-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-7795-401a9a-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-7795-ad0232-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-7795-377075-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-7795-d3c16b-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-7795-0fe603-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; /* int y; y2.res diff = --- tests/y2.c +++ /tmp/cocci-output-7795-019235-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-7795-beaa3f-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:113: replacing shebang in debian/coccinelle/usr/bin/pycocci dh_installinit -a -O--parallel dh_installinit: Compatibility levels before 9 are deprecated (level 8 in use) 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 dh_compress: Compatibility levels before 9 are deprecated (level 8 in use) make[1]: Leaving directory '/<>' dh_fixperms -a -O--parallel dh_missing -a -O--parallel dh_missing: Compatibility levels before 9 are deprecated (level 8 in use) 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 Seti W: coccinelle doesn't resolve dependency on unit SetPt W: coccinelle doesn't resolve dependency on unit Commands W: coccinelle doesn't resolve dependency on unit Setb W: coccinelle doesn't resolve dependency on unit Ocollection W: coccinelle doesn't resolve dependency on unit Oset W: coccinelle doesn't resolve dependency on unit Type_annoter_c W: coccinelle doesn't resolve dependency on unit Externalanalysis W: coccinelle doesn't resolve dependency on unit Dumper W: coccinelle doesn't resolve dependency on unit Token_annot W: coccinelle doesn't resolve dependency on unit Flag_parsing_c W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci W: coccinelle doesn't resolve dependency on unit Oassoc W: coccinelle doesn't resolve dependency on unit Parsing_stat W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit Regexp_pcre W: coccinelle doesn't resolve dependency on unit Cpp_token_c W: coccinelle doesn't resolve dependency on unit Token_c 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 Token_views_c W: coccinelle doesn't resolve dependency on unit Ograph_extended dh_gencontrol -a -O--parallel dh_md5sums -a -O--parallel dh_builddeb -a -O--parallel INFO: pkgstriptranslations version 143 INFO: pkgstriptranslations version 143 pkgstriptranslations: processing coccinelle (in debian/coccinelle); do_strip: , oemstrip: pkgstriptranslations: processing coccinelle-dbgsym (in debian/.debhelper/coccinelle/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " 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 dpkg-deb: building package 'coccinelle-dbgsym' in 'debian/.debhelper/scratch-space/build-coccinelle/coccinelle-dbgsym_1.0.4.deb-4_i386.deb'. pkgstripfiles: Truncating usr/share/doc/coccinelle/changelog.Debian.gz to topmost ten records 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-4_i386.deb'. Renaming coccinelle-dbgsym_1.0.4.deb-4_i386.deb to coccinelle-dbgsym_1.0.4.deb-4_i386.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../coccinelle_1.0.4.deb-4_i386.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20190106-2314 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ coccinelle_1.0.4.deb-4_i386.changes: ------------------------------------ Format: 1.8 Date: Sun, 06 Jan 2019 18:00:24 +0100 Source: coccinelle Binary: coccinelle coccinelle-doc Architecture: i386 Version: 1.0.4.deb-4 Distribution: disco-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Євгеній Мещеряков Description: coccinelle - semantic patching tool for C coccinelle-doc - documentation for coccinelle Closes: 917490 Changes: coccinelle (1.0.4.deb-4) unstable; urgency=medium . * Fix option clash while building the manual (closes: #917490) * debian/gpb.conf: set debian-branch to 1.0.4-updates * Point Vcs fields to salsa.debian.org Checksums-Sha1: 14c99b74ecc0df21e4c48f577059c78ad881cacd 324836 coccinelle-dbgsym_1.0.4.deb-4_i386.ddeb fd212cfa57fe0e459ae16db20c46e5c73bddf168 9601 coccinelle_1.0.4.deb-4_i386.buildinfo 145f73d51a60d71445fc2a2ed7279d7eb0179f47 2015508 coccinelle_1.0.4.deb-4_i386.deb Checksums-Sha256: d66075fa6ac61edf171dbf7380a93800ec4cbf7da1527af96995e4ce9fc97c97 324836 coccinelle-dbgsym_1.0.4.deb-4_i386.ddeb 29a7523db86d0acdb1689efbe10eecf9c7a15aeca763fa263cdbae33670f7495 9601 coccinelle_1.0.4.deb-4_i386.buildinfo 8bfa8948304fc4317af83d20bfe07ed7d17115e0639a18cf449811e2155cb0c1 2015508 coccinelle_1.0.4.deb-4_i386.deb Files: 7721ddd5a5926283823ff35a047ee0d1 324836 debug optional coccinelle-dbgsym_1.0.4.deb-4_i386.ddeb 510117212423c29f261fb7c2cbd5c7aa 9601 devel optional coccinelle_1.0.4.deb-4_i386.buildinfo 284a1b190be49c117d0e0a2630d2cee8 2015508 devel optional coccinelle_1.0.4.deb-4_i386.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ coccinelle_1.0.4.deb-4_i386.deb ------------------------------- new debian package, version 2.0. size 2015508 bytes: control archive=2728 bytes. 40 bytes, 1 lines conffiles 894 bytes, 17 lines control 4293 bytes, 57 lines md5sums 348 bytes, 12 lines * postinst #!/bin/sh 186 bytes, 5 lines * postrm #!/bin/sh 186 bytes, 5 lines * preinst #!/bin/sh 428 bytes, 17 lines * prerm #!/bin/sh Package: coccinelle Version: 1.0.4.deb-4 Architecture: i386 Maintainer: Ubuntu Developers Original-Maintainer: Debian OCaml Maintainers Installed-Size: 8894 Pre-Depends: dpkg (>= 1.17.14) Depends: libc6 (>= 2.28), libpcre3, libpython2.7 (>= 2.7), libpcre-ocaml-jd8d7, ocaml-base-nox-4.05.0, python:any, 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. drwxr-xr-x root/root 0 2019-01-06 17:00 ./ drwxr-xr-x root/root 0 2019-01-06 17:00 ./etc/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./etc/emacs/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./etc/emacs/site-start.d/ -rw-r--r-- root/root 256 2019-01-06 17:00 ./etc/emacs/site-start.d/50coccinelle.el drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/bin/ -rwxr-xr-x root/root 24341 2019-01-06 17:00 ./usr/bin/pycocci -rwxr-xr-x root/root 117 2019-01-06 17:00 ./usr/bin/spatch drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/lib/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/lib/coccinelle/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/ -rw-r--r-- root/root 34461 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/ast0_cocci.cmi -rw-r--r-- root/root 30762 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/ast_c.cmi -rw-r--r-- root/root 39184 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/ast_cocci.cmi -rw-r--r-- root/root 8652 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/coccilib.cmi -rw-r--r-- root/root 92521 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/common.cmi -rw-r--r-- root/root 618 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/config.cmi -rw-r--r-- root/root 2306 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/exposed_modules.cmi -rw-r--r-- root/root 2078 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/flag.cmi -rw-r--r-- root/root 1384 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/iteration.cmi -rw-r--r-- root/root 4977 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/lexer_c.cmi -rw-r--r-- root/root 12925 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/lib_parsing_c.cmi -rw-r--r-- root/root 919 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/ocamlcocci_aux.cmi -rw-r--r-- root/root 4753 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/parse_c.cmi -rw-r--r-- root/root 11311 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/parser_c.cmi -rw-r--r-- root/root 935 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/prepare_ocamlcocci.cmi -rw-r--r-- root/root 8944 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/pretty_print_c.cmi -rw-r--r-- root/root 866 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/regexp.cmi -rw-r--r-- root/root 1195 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/run_ocamlcocci.cmi -rw-r--r-- root/root 2284 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/type_cocci.cmi -rw-r--r-- root/root 19106 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/visitor_c.cmi -rw-r--r-- root/root 9258 2019-01-06 17:00 ./usr/lib/coccinelle/ocaml/yes_prepare_ocamlcocci.cmi drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/lib/coccinelle/python/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/ -rw-r--r-- root/root 24 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/__init__.py drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/ -rw-r--r-- root/root 24 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/__init__.py -rw-r--r-- root/root 4613 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/coccigui.py -rw-r--r-- root/root 599 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/pycoccimodel.py -rw-r--r-- root/root 4953 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/pygui.glade -rw-r--r-- root/root 271 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/pygui.gladep -rw-r--r-- root/root 9169 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/vim.py -rw-r--r-- root/root 27183 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/vimcom.py -rw-r--r-- root/root 9799 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/vimeditor.py -rw-r--r-- root/root 4364 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/coccigui/vimembed.py -rw-r--r-- root/root 842 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/elems.py -rw-r--r-- root/root 1116 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/org.py -rw-r--r-- root/root 2949 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/output.py -rw-r--r-- root/root 162 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/report.py -rw-r--r-- root/root 557 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/trac.py -rw-r--r-- root/root 9554 2019-01-06 17:00 ./usr/lib/coccinelle/python/coccilib/xml_firehose.py -rwxr-xr-x root/root 8566452 2019-01-06 17:00 ./usr/lib/coccinelle/spatch -rw-r--r-- root/root 22668 2019-01-06 17:00 ./usr/lib/coccinelle/standard.h -rw-r--r-- root/root 15159 2019-01-06 17:00 ./usr/lib/coccinelle/standard.iso drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/bash-completion/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/bash-completion/completions/ -rw-r--r-- root/root 3211 2019-01-06 17:00 ./usr/share/bash-completion/completions/spatch drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/doc/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/doc/coccinelle/ -rw-r--r-- root/root 98 2019-01-06 17:00 ./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 1227 2019-01-06 17:00 ./usr/share/doc/coccinelle/changelog.Debian.gz -rw-r--r-- root/root 5708 2019-01-06 17:00 ./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 2019-01-06 17:00 ./usr/share/emacs/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/emacs/site-lisp/ -rw-r--r-- root/root 11218 2019-01-06 17:00 ./usr/share/emacs/site-lisp/cocci.el drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/man/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/man/man1/ -rw-r--r-- root/root 3792 2019-01-06 17:00 ./usr/share/man/man1/pycocci.1.gz -rw-r--r-- root/root 5281 2019-01-06 17:00 ./usr/share/man/man1/spatch.1.gz drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/man/man3/ -rw-r--r-- root/root 2069 2019-01-06 17:00 ./usr/share/man/man3/Coccilib.3cocci.gz drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/python/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/python/runtime.d/ -rwxr-xr-x root/root 139 2019-01-06 17:00 ./usr/share/python/runtime.d/coccinelle.rtupdate drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/vim/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/vim/addons/ drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/vim/addons/ftdetect/ -rw-r--r-- root/root 367 2019-01-06 17:00 ./usr/share/vim/addons/ftdetect/cocci.vim drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/vim/addons/syntax/ -rw-r--r-- root/root 1248 2019-01-06 17:00 ./usr/share/vim/addons/syntax/cocci.vim drwxr-xr-x root/root 0 2019-01-06 17:00 ./usr/share/vim/registry/ -rw-r--r-- root/root 144 2019-01-06 17:00 ./usr/share/vim/registry/coccinelle.yaml +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: i386 Build-Space: 63540 Build-Time: 124 Distribution: disco-proposed Host Architecture: i386 Install-Time: 197 Job: coccinelle_1.0.4.deb-4.dsc Machine Architecture: amd64 Package: coccinelle Package-Time: 323 Source-Version: 1.0.4.deb-4 Space: 63540 Status: successful Version: 1.0.4.deb-4 -------------------------------------------------------------------------------- Finished at 20190106-2314 Build needed 00:05:23, 63540k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=disco --arch=i386 PACKAGEBUILD-16242190 Scanning for processes to kill in build PACKAGEBUILD-16242190