https://launchpad.net/ubuntu/+source/coccinelle/1.0.4.deb-4/+build/16242189 RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux bos02-arm64-027 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:50:27 UTC 2018 aarch64 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:09:56 ntpdate[1822]: adjust time server 10.211.37.1 offset 0.020735 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=disco --arch=armhf PACKAGEBUILD-16242189 /home/buildd/filecache-default/a8e076447bc9c859868a26138221e631724b6c90 Creating target for build PACKAGEBUILD-16242189 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=disco --arch=armhf PACKAGEBUILD-16242189 Starting target for build PACKAGEBUILD-16242189 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=disco --arch=armhf PACKAGEBUILD-16242189 '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-16242189 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=disco --arch=armhf PACKAGEBUILD-16242189 Updating target for build PACKAGEBUILD-16242189 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 armhf Packages [959 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main Translation-en [514 kB] Get:7 http://ftpmaster.internal/ubuntu disco/universe armhf Packages [8714 kB] Get:8 http://ftpmaster.internal/ubuntu disco/universe Translation-en [5180 kB] Get:9 http://ftpmaster.internal/ubuntu disco-proposed/main armhf Packages [95.1 kB] Get:10 http://ftpmaster.internal/ubuntu disco-proposed/main Translation-en [48.1 kB] Get:11 http://ftpmaster.internal/ubuntu disco-proposed/universe armhf Packages [411 kB] Get:12 http://ftpmaster.internal/ubuntu disco-proposed/universe Translation-en [229 kB] Fetched 16.6 MB in 6s (2564 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-arm-linux-gnueabihf binutils-common 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 libpng16-16 libsemanage-common libsemanage1 libsqlite3-0 libss2 libstdc++-8-dev libstdc++6 libubsan1 libzstd1 linux-libc-dev sed tar tzdata 43 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 32.0 MB of archives. After this operation, 122 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu disco-proposed/main armhf tar armhf 1.30+dfsg-4 [218 kB] Get:2 http://ftpmaster.internal/ubuntu disco/main armhf dpkg armhf 1.19.2ubuntu2 [1056 kB] Get:3 http://ftpmaster.internal/ubuntu disco-proposed/main armhf dash armhf 0.5.10.2-4 [78.3 kB] Get:4 http://ftpmaster.internal/ubuntu disco/main armhf sed armhf 4.7-1 [181 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main armhf init-system-helpers all 1.56+nmu1 [38.2 kB] Get:6 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libgnutls30 armhf 3.6.5-2ubuntu1 [700 kB] Get:7 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libubsan1 armhf 8.2.0-13ubuntu1 [109 kB] Get:8 http://ftpmaster.internal/ubuntu disco-proposed/main armhf gcc-8-base armhf 8.2.0-13ubuntu1 [18.6 kB] Get:9 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libgcc1 armhf 1:8.2.0-13ubuntu1 [37.1 kB] Get:10 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libgomp1 armhf 8.2.0-13ubuntu1 [66.6 kB] Get:11 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libatomic1 armhf 8.2.0-13ubuntu1 [7048 B] Get:12 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libasan5 armhf 8.2.0-13ubuntu1 [349 kB] Get:13 http://ftpmaster.internal/ubuntu disco-proposed/main armhf cpp-8 armhf 8.2.0-13ubuntu1 [5640 kB] Get:14 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libcc1-0 armhf 8.2.0-13ubuntu1 [32.5 kB] Get:15 http://ftpmaster.internal/ubuntu disco-proposed/main armhf g++-8 armhf 8.2.0-13ubuntu1 [6429 kB] Get:16 http://ftpmaster.internal/ubuntu disco-proposed/main armhf gcc-8 armhf 8.2.0-13ubuntu1 [6348 kB] Get:17 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libgcc-8-dev armhf 8.2.0-13ubuntu1 [631 kB] Get:18 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libstdc++-8-dev armhf 8.2.0-13ubuntu1 [1596 kB] Get:19 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libstdc++6 armhf 8.2.0-13ubuntu1 [349 kB] Get:20 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libbinutils armhf 2.31.1-11ubuntu1 [309 kB] Get:21 http://ftpmaster.internal/ubuntu disco-proposed/main armhf binutils-common armhf 2.31.1-11ubuntu1 [194 kB] Get:22 http://ftpmaster.internal/ubuntu disco-proposed/main armhf binutils armhf 2.31.1-11ubuntu1 [3348 B] Get:23 http://ftpmaster.internal/ubuntu disco-proposed/main armhf binutils-arm-linux-gnueabihf armhf 2.31.1-11ubuntu1 [2150 kB] Get:24 http://ftpmaster.internal/ubuntu disco/main armhf libzstd1 armhf 1.3.8+dfsg-3 [195 kB] Get:25 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libapt-pkg5.0 armhf 1.8.0~alpha3 [732 kB] Get:26 http://ftpmaster.internal/ubuntu disco-proposed/main armhf apt armhf 1.8.0~alpha3 [1113 kB] Get:27 http://ftpmaster.internal/ubuntu disco/main armhf libext2fs2 armhf 1.44.5-1 [145 kB] Get:28 http://ftpmaster.internal/ubuntu disco/main armhf e2fsprogs armhf 1.44.5-1 [492 kB] Get:29 http://ftpmaster.internal/ubuntu disco/main armhf init armhf 1.56+nmu1 [6080 B] Get:30 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libgpg-error0 armhf 1.33-3 [49.3 kB] Get:31 http://ftpmaster.internal/ubuntu disco/main armhf libsemanage-common all 2.8-2 [7016 B] Get:32 http://ftpmaster.internal/ubuntu disco/main armhf libsemanage1 armhf 2.8-2 [72.7 kB] Get:33 http://ftpmaster.internal/ubuntu disco/main armhf libcom-err2 armhf 1.44.5-1 [8468 B] Get:34 http://ftpmaster.internal/ubuntu disco/main armhf libss2 armhf 1.44.5-1 [9324 B] Get:35 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libsqlite3-0 armhf 3.26.0+fossilbc891ac6b-1 [449 kB] Get:36 http://ftpmaster.internal/ubuntu disco/main armhf tzdata all 2018i-1 [189 kB] Get:37 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libpng16-16 armhf 1.6.36-2 [162 kB] Get:38 http://ftpmaster.internal/ubuntu disco/main armhf dpkg-dev all 1.19.2ubuntu2 [549 kB] Get:39 http://ftpmaster.internal/ubuntu disco/main armhf libdpkg-perl all 1.19.2ubuntu2 [227 kB] Get:40 http://ftpmaster.internal/ubuntu disco/main armhf e2fslibs armhf 1.44.5-1 [2704 B] Get:41 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libassuan0 armhf 2.5.2-1 [28.7 kB] Get:42 http://ftpmaster.internal/ubuntu disco/main armhf libcomerr2 armhf 1.44.5-1 [2700 B] Get:43 http://ftpmaster.internal/ubuntu disco-proposed/main armhf linux-libc-dev armhf 4.19.0-9.10 [1024 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 32.0 MB in 4s (8168 kB/s) (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../tar_1.30+dfsg-4_armhf.deb ... Unpacking tar (1.30+dfsg-4) over (1.30+dfsg-3) ... Setting up tar (1.30+dfsg-4) ... (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.2ubuntu2_armhf.deb ... Unpacking dpkg (1.19.2ubuntu2) over (1.19.2ubuntu1) ... Setting up dpkg (1.19.2ubuntu2) ... (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../dash_0.5.10.2-4_armhf.deb ... Unpacking dash (0.5.10.2-4) over (0.5.10.2-2) ... Setting up dash (0.5.10.2-4) ... (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../archives/sed_4.7-1_armhf.deb ... Unpacking sed (4.7-1) over (4.5-2) ... Setting up sed (4.7-1) ... (Reading database ... 12402 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 ... 12402 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.5-2ubuntu1_armhf.deb ... Unpacking libgnutls30:armhf (3.6.5-2ubuntu1) over (3.6.4-2ubuntu2) ... Setting up libgnutls30:armhf (3.6.5-2ubuntu1) ... (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../libubsan1_8.2.0-13ubuntu1_armhf.deb ... Unpacking libubsan1:armhf (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../gcc-8-base_8.2.0-13ubuntu1_armhf.deb ... Unpacking gcc-8-base:armhf (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Setting up gcc-8-base:armhf (8.2.0-13ubuntu1) ... (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a8.2.0-13ubuntu1_armhf.deb ... Unpacking libgcc1:armhf (1:8.2.0-13ubuntu1) over (1:8.2.0-12ubuntu1) ... Setting up libgcc1:armhf (1:8.2.0-13ubuntu1) ... (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../0-libgomp1_8.2.0-13ubuntu1_armhf.deb ... Unpacking libgomp1:armhf (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../1-libatomic1_8.2.0-13ubuntu1_armhf.deb ... Unpacking libatomic1:armhf (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../2-libasan5_8.2.0-13ubuntu1_armhf.deb ... Unpacking libasan5:armhf (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../3-cpp-8_8.2.0-13ubuntu1_armhf.deb ... Unpacking cpp-8 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../4-libcc1-0_8.2.0-13ubuntu1_armhf.deb ... Unpacking libcc1-0:armhf (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../5-g++-8_8.2.0-13ubuntu1_armhf.deb ... Unpacking g++-8 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../6-gcc-8_8.2.0-13ubuntu1_armhf.deb ... Unpacking gcc-8 (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../7-libgcc-8-dev_8.2.0-13ubuntu1_armhf.deb ... Unpacking libgcc-8-dev:armhf (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../8-libstdc++-8-dev_8.2.0-13ubuntu1_armhf.deb ... Unpacking libstdc++-8-dev:armhf (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Preparing to unpack .../9-libstdc++6_8.2.0-13ubuntu1_armhf.deb ... Unpacking libstdc++6:armhf (8.2.0-13ubuntu1) over (8.2.0-12ubuntu1) ... Setting up libstdc++6:armhf (8.2.0-13ubuntu1) ... (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../libbinutils_2.31.1-11ubuntu1_armhf.deb ... Unpacking libbinutils:armhf (2.31.1-11ubuntu1) over (2.31.1-10ubuntu1) ... Preparing to unpack .../binutils-common_2.31.1-11ubuntu1_armhf.deb ... Unpacking binutils-common:armhf (2.31.1-11ubuntu1) over (2.31.1-10ubuntu1) ... Preparing to unpack .../binutils_2.31.1-11ubuntu1_armhf.deb ... Unpacking binutils (2.31.1-11ubuntu1) over (2.31.1-10ubuntu1) ... Preparing to unpack .../binutils-arm-linux-gnueabihf_2.31.1-11ubuntu1_armhf.deb ... Unpacking binutils-arm-linux-gnueabihf (2.31.1-11ubuntu1) over (2.31.1-10ubuntu1) ... Preparing to unpack .../libzstd1_1.3.8+dfsg-3_armhf.deb ... Unpacking libzstd1:armhf (1.3.8+dfsg-3) over (1.3.5+dfsg-1ubuntu1) ... Setting up libzstd1:armhf (1.3.8+dfsg-3) ... (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.8.0~alpha3_armhf.deb ... Unpacking libapt-pkg5.0:armhf (1.8.0~alpha3) over (1.8.0~alpha2ubuntu1) ... Setting up libapt-pkg5.0:armhf (1.8.0~alpha3) ... (Reading database ... 12402 files and directories currently installed.) Preparing to unpack .../apt_1.8.0~alpha3_armhf.deb ... Unpacking apt (1.8.0~alpha3) over (1.8.0~alpha2ubuntu1) ... Setting up apt (1.8.0~alpha3) ... (Reading database ... 12401 files and directories currently installed.) Preparing to unpack .../libext2fs2_1.44.5-1_armhf.deb ... Unpacking libext2fs2:armhf (1.44.5-1) over (1.44.4-2ubuntu1) ... Setting up libext2fs2:armhf (1.44.5-1) ... (Reading database ... 12400 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.44.5-1_armhf.deb ... Unpacking e2fsprogs (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../init_1.56+nmu1_armhf.deb ... Unpacking init (1.56+nmu1) over (1.56) ... Preparing to unpack .../libgpg-error0_1.33-3_armhf.deb ... Unpacking libgpg-error0:armhf (1.33-3) over (1.32-3) ... Setting up libgpg-error0:armhf (1.33-3) ... (Reading database ... 12400 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 ... 12400 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.8-2_armhf.deb ... Unpacking libsemanage1:armhf (2.8-2) over (2.8-1build2) ... Setting up libsemanage1:armhf (2.8-2) ... (Reading database ... 12400 files and directories currently installed.) Preparing to unpack .../00-libcom-err2_1.44.5-1_armhf.deb ... Unpacking libcom-err2:armhf (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../01-libss2_1.44.5-1_armhf.deb ... Unpacking libss2:armhf (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../02-libsqlite3-0_3.26.0+fossilbc891ac6b-1_armhf.deb ... Unpacking libsqlite3-0:armhf (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_armhf.deb ... Unpacking libpng16-16:armhf (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_armhf.deb ... Unpacking e2fslibs:armhf (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../08-libassuan0_2.5.2-1_armhf.deb ... Unpacking libassuan0:armhf (2.5.2-1) over (2.5.1-2) ... Preparing to unpack .../09-libcomerr2_1.44.5-1_armhf.deb ... Unpacking libcomerr2:armhf (1.44.5-1) over (1.44.4-2ubuntu1) ... Preparing to unpack .../10-linux-libc-dev_4.19.0-9.10_armhf.deb ... Unpacking linux-libc-dev:armhf (4.19.0-9.10) over (4.18.0-11.12) ... Setting up cpp-8 (8.2.0-13ubuntu1) ... Setting up libcom-err2:armhf (1.44.5-1) ... Setting up libgomp1:armhf (8.2.0-13ubuntu1) ... Setting up libatomic1:armhf (8.2.0-13ubuntu1) ... Setting up libss2:armhf (1.44.5-1) ... Setting up libcc1-0:armhf (8.2.0-13ubuntu1) ... Setting up e2fslibs:armhf (1.44.5-1) ... Setting up libpng16-16:armhf (1.6.36-2) ... Setting up tzdata (2018i-1) ... Current default time zone: 'Etc/UTC' Local time is now: Sun Jan 6 23:10:29 UTC 2019. Universal Time is now: Sun Jan 6 23:10:29 UTC 2019. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up init (1.56+nmu1) ... Setting up linux-libc-dev:armhf (4.19.0-9.10) ... Setting up libdpkg-perl (1.19.2ubuntu2) ... Setting up e2fsprogs (1.44.5-1) ... Setting up binutils-common:armhf (2.31.1-11ubuntu1) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libsqlite3-0:armhf (3.26.0+fossilbc891ac6b-1) ... Setting up libcomerr2:armhf (1.44.5-1) ... Setting up libasan5:armhf (8.2.0-13ubuntu1) ... Setting up libassuan0:armhf (2.5.2-1) ... Setting up libubsan1:armhf (8.2.0-13ubuntu1) ... Setting up libbinutils:armhf (2.31.1-11ubuntu1) ... Setting up binutils-arm-linux-gnueabihf (2.31.1-11ubuntu1) ... Setting up libgcc-8-dev:armhf (8.2.0-13ubuntu1) ... Setting up binutils (2.31.1-11ubuntu1) ... Setting up libstdc++-8-dev:armhf (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-16242189 armhf disco-proposed -c chroot:build-PACKAGEBUILD-16242189 --arch=armhf --dist=disco-proposed --nolog coccinelle_1.0.4.deb-4.dsc Initiating build PACKAGEBUILD-16242189 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:50:27 UTC 2018 armv7l sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos02-arm64-027.buildd +==============================================================================+ | coccinelle 1.0.4.deb-4 (armhf) 06 Jan 2019 23:10 | +==============================================================================+ Package: coccinelle Version: 1.0.4.deb-4 Source Version: 1.0.4.deb-4 Distribution: disco-proposed Machine Architecture: arm64 Host Architecture: armhf Build Architecture: armhf I: NOTICE: Log filtering will replace 'build/coccinelle-GxPd77/coccinelle-1.0.4.deb' with '<>' I: NOTICE: Log filtering will replace 'build/coccinelle-GxPd77' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-16242189/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-i0Ao4N/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-i0Ao4N/apt_archive ./ InRelease Get:2 copy:/<>/resolver-i0Ao4N/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-i0Ao4N/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-i0Ao4N/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-i0Ao4N/apt_archive ./ Packages [527 B] Fetched 2860 B in 0s (129 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-i0Ao4N/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 ... 12406 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 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-UnHwx6/apt_archive/sbuild-build-depends-coccinelle-dummy.deb'. Ign:1 copy:/<>/resolver-UnHwx6/apt_archive ./ InRelease Get:2 copy:/<>/resolver-UnHwx6/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-UnHwx6/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-UnHwx6/apt_archive ./ Sources [402 B] Get:5 copy:/<>/resolver-UnHwx6/apt_archive ./ Packages [726 B] Fetched 3247 B in 0s (156 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 624 MB of archives. After this operation, 1911 MB of additional disk space will be used. Get:1 copy:/<>/resolver-UnHwx6/apt_archive ./ sbuild-build-depends-coccinelle-dummy 0.invalid.0 [1056 B] Get:2 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libpython3.7-minimal armhf 3.7.2-1 [538 kB] Get:3 http://ftpmaster.internal/ubuntu disco/main armhf libexpat1 armhf 2.2.6-1 [60.1 kB] Get:4 http://ftpmaster.internal/ubuntu disco-proposed/main armhf python3.7-minimal armhf 3.7.2-1 [1415 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main armhf python3-minimal armhf 3.7.1-1ubuntu1 [23.6 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main armhf mime-support all 3.60ubuntu1 [30.1 kB] Get:7 http://ftpmaster.internal/ubuntu disco/main armhf libmpdec2 armhf 2.4.2-2 [66.4 kB] Get:8 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libpython3.7-stdlib armhf 3.7.2-1 [1660 kB] Get:9 http://ftpmaster.internal/ubuntu disco-proposed/main armhf python3.7 armhf 3.7.2-1 [277 kB] Get:10 http://ftpmaster.internal/ubuntu disco/main armhf libpython3-stdlib armhf 3.7.1-1ubuntu1 [7128 B] Get:11 http://ftpmaster.internal/ubuntu disco/main armhf python3 armhf 3.7.1-1ubuntu1 [47.2 kB] Get:12 http://ftpmaster.internal/ubuntu disco/main armhf libxau6 armhf 1:1.0.8-1 [7324 B] Get:13 http://ftpmaster.internal/ubuntu disco/main armhf libbsd0 armhf 0.9.1-1 [43.1 kB] Get:14 http://ftpmaster.internal/ubuntu disco/main armhf libxdmcp6 armhf 1:1.1.2-3 [9316 B] Get:15 http://ftpmaster.internal/ubuntu disco/main armhf libxcb1 armhf 1.13.1-2 [40.8 kB] Get:16 http://ftpmaster.internal/ubuntu disco/main armhf libx11-data all 2:1.6.7-1 [113 kB] Get:17 http://ftpmaster.internal/ubuntu disco/main armhf libx11-6 armhf 2:1.6.7-1 [515 kB] Get:18 http://ftpmaster.internal/ubuntu disco/main armhf libxext6 armhf 2:1.3.3-1 [25.1 kB] Get:19 http://ftpmaster.internal/ubuntu disco/main armhf bsdmainutils armhf 11.1.2ubuntu2 [176 kB] Get:20 http://ftpmaster.internal/ubuntu disco/universe armhf libuchardet0 armhf 0.0.6-3 [62.1 kB] Get:21 http://ftpmaster.internal/ubuntu disco-proposed/main armhf groff-base armhf 1.22.4-2 [772 kB] Get:22 http://ftpmaster.internal/ubuntu disco/main armhf libpipeline1 armhf 1.5.0-2 [21.5 kB] Get:23 http://ftpmaster.internal/ubuntu disco/main armhf man-db armhf 2.8.5-1 [1068 kB] Get:24 http://ftpmaster.internal/ubuntu disco/main armhf x11-common all 1:7.7+19ubuntu8 [22.5 kB] Get:25 http://ftpmaster.internal/ubuntu disco/main armhf libice6 armhf 2:1.0.9-2 [33.5 kB] Get:26 http://ftpmaster.internal/ubuntu disco/main armhf libsm6 armhf 2:1.2.2-1 [13.9 kB] Get:27 http://ftpmaster.internal/ubuntu disco/main armhf poppler-data all 0.4.9-2 [1475 kB] Get:28 http://ftpmaster.internal/ubuntu disco/main armhf libpython2.7-minimal armhf 2.7.15-5 [335 kB] Get:29 http://ftpmaster.internal/ubuntu disco/main armhf python2.7-minimal armhf 2.7.15-5 [1100 kB] Get:30 http://ftpmaster.internal/ubuntu disco/main armhf python2-minimal armhf 2.7.15-3 [28.1 kB] Get:31 http://ftpmaster.internal/ubuntu disco/main armhf python-minimal armhf 2.7.15-3 [5996 B] Get:32 http://ftpmaster.internal/ubuntu disco/main armhf libpython2.7-stdlib armhf 2.7.15-5 [1833 kB] Get:33 http://ftpmaster.internal/ubuntu disco/main armhf python2.7 armhf 2.7.15-5 [239 kB] Get:34 http://ftpmaster.internal/ubuntu disco/main armhf libpython2-stdlib armhf 2.7.15-3 [7728 B] Get:35 http://ftpmaster.internal/ubuntu disco/main armhf libpython-stdlib armhf 2.7.15-3 [5824 B] Get:36 http://ftpmaster.internal/ubuntu disco/main armhf python2 armhf 2.7.15-3 [26.5 kB] Get:37 http://ftpmaster.internal/ubuntu disco/main armhf python armhf 2.7.15-3 [7828 B] Get:38 http://ftpmaster.internal/ubuntu disco-proposed/main armhf ucf all 3.0038+nmu1 [51.6 kB] Get:39 http://ftpmaster.internal/ubuntu disco/main armhf tex-common all 6.10 [32.6 kB] Get:40 http://ftpmaster.internal/ubuntu disco/main armhf libmagic-mgc armhf 1:5.34-2 [197 kB] Get:41 http://ftpmaster.internal/ubuntu disco/main armhf libmagic1 armhf 1:5.34-2 [65.3 kB] Get:42 http://ftpmaster.internal/ubuntu disco/main armhf file armhf 1:5.34-2 [21.9 kB] Get:43 http://ftpmaster.internal/ubuntu disco/main armhf libdbus-1-3 armhf 1.12.10-1ubuntu2 [154 kB] Get:44 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libelf1 armhf 0.175-2 [41.0 kB] Get:45 http://ftpmaster.internal/ubuntu disco/main armhf libglib2.0-0 armhf 2.58.1-2 [1024 kB] Get:46 http://ftpmaster.internal/ubuntu disco/main armhf libicu63 armhf 63.1-5 [7991 kB] Get:47 http://ftpmaster.internal/ubuntu disco/main armhf libxml2 armhf 2.9.4+dfsg1-7ubuntu3 [533 kB] Get:48 http://ftpmaster.internal/ubuntu disco/main armhf gettext-base armhf 0.19.8.1-9 [46.0 kB] Get:49 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libkrb5support0 armhf 1.16.2-1 [27.4 kB] Get:50 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libk5crypto3 armhf 1.16.2-1 [83.1 kB] Get:51 http://ftpmaster.internal/ubuntu disco/main armhf libkeyutils1 armhf 1.5.9-9.3 [8660 B] Get:52 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libkrb5-3 armhf 1.16.2-1 [235 kB] Get:53 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libgssapi-krb5-2 armhf 1.16.2-1 [101 kB] Get:54 http://ftpmaster.internal/ubuntu disco/main armhf libsigsegv2 armhf 2.12-2 [13.1 kB] Get:55 http://ftpmaster.internal/ubuntu disco/main armhf m4 armhf 1.4.18-2 [186 kB] Get:56 http://ftpmaster.internal/ubuntu disco/main armhf autoconf all 2.69-11 [322 kB] Get:57 http://ftpmaster.internal/ubuntu disco/main armhf autotools-dev all 20180224.1 [39.6 kB] Get:58 http://ftpmaster.internal/ubuntu disco/main armhf automake all 1:1.16.1-4 [522 kB] Get:59 http://ftpmaster.internal/ubuntu disco/main armhf autopoint all 0.19.8.1-9 [412 kB] Get:60 http://ftpmaster.internal/ubuntu disco/universe armhf ocaml-base-nox armhf 4.05.0-10ubuntu2 [480 kB] Get:61 http://ftpmaster.internal/ubuntu disco/main armhf libncurses-dev armhf 6.1+20180210-4ubuntu1 [295 kB] Get:62 http://ftpmaster.internal/ubuntu disco/main armhf libncurses5-dev armhf 6.1+20180210-4ubuntu1 [972 B] Get:63 http://ftpmaster.internal/ubuntu disco/universe armhf ocaml-compiler-libs armhf 4.05.0-10ubuntu2 [19.1 MB] Get:64 http://ftpmaster.internal/ubuntu disco/universe armhf ocaml-interp armhf 4.05.0-10ubuntu2 [3466 kB] Get:65 http://ftpmaster.internal/ubuntu disco/universe armhf ocaml-nox armhf 4.05.0-10ubuntu2 [26.2 MB] Get:66 http://ftpmaster.internal/ubuntu disco/universe armhf libcamlp4-ocaml-dev armhf 4.05+1-2 [16.4 MB] Get:67 http://ftpmaster.internal/ubuntu disco/universe armhf camlp4 armhf 4.05+1-2 [4068 kB] Get:68 http://ftpmaster.internal/ubuntu disco/main armhf libtool all 2.4.6-6 [195 kB] Get:69 http://ftpmaster.internal/ubuntu disco/main armhf dh-autoreconf all 19 [16.1 kB] Get:70 http://ftpmaster.internal/ubuntu disco/main armhf libarchive-zip-perl all 1.64-1 [84.9 kB] Get:71 http://ftpmaster.internal/ubuntu disco/main armhf libfile-stripnondeterminism-perl all 1.0.0-1 [13.9 kB] Get:72 http://ftpmaster.internal/ubuntu disco/main armhf dh-strip-nondeterminism all 1.0.0-1 [5064 B] Get:73 http://ftpmaster.internal/ubuntu disco/main armhf dwz armhf 0.12-3 [72.1 kB] Get:74 http://ftpmaster.internal/ubuntu disco/main armhf libcroco3 armhf 0.6.12-3 [69.6 kB] Get:75 http://ftpmaster.internal/ubuntu disco/main armhf gettext armhf 0.19.8.1-9 [833 kB] Get:76 http://ftpmaster.internal/ubuntu disco/main armhf intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:77 http://ftpmaster.internal/ubuntu disco/main armhf po-debconf all 1.0.21 [233 kB] Get:78 http://ftpmaster.internal/ubuntu disco-proposed/main armhf debhelper all 12ubuntu1 [887 kB] Get:79 http://ftpmaster.internal/ubuntu disco-proposed/main armhf python3-lib2to3 all 3.7.2-2 [74.3 kB] Get:80 http://ftpmaster.internal/ubuntu disco-proposed/main armhf python3-distutils all 3.7.2-2 [139 kB] Get:81 http://ftpmaster.internal/ubuntu disco/main armhf dh-python all 3.20180927ubuntu2 [90.9 kB] Get:82 http://ftpmaster.internal/ubuntu disco/main armhf fonts-dejavu-core all 2.37-1 [1041 kB] Get:83 http://ftpmaster.internal/ubuntu disco/main armhf fontconfig-config all 2.13.0-5ubuntu3 [28.4 kB] Get:84 http://ftpmaster.internal/ubuntu disco/main armhf fonts-lmodern all 2.004.5-5 [4532 kB] Get:85 http://ftpmaster.internal/ubuntu disco/main armhf libavahi-common-data armhf 0.7-4ubuntu4 [21.4 kB] Get:86 http://ftpmaster.internal/ubuntu disco/main armhf libavahi-common3 armhf 0.7-4ubuntu4 [18.2 kB] Get:87 http://ftpmaster.internal/ubuntu disco/main armhf libavahi-client3 armhf 0.7-4ubuntu4 [21.7 kB] Get:88 http://ftpmaster.internal/ubuntu disco/main armhf libcups2 armhf 2.2.10-3 [179 kB] Get:89 http://ftpmaster.internal/ubuntu disco/main armhf libcupsimage2 armhf 2.2.10-3 [16.0 kB] Get:90 http://ftpmaster.internal/ubuntu disco/main armhf libfreetype6 armhf 2.8.1-2ubuntu2 [280 kB] Get:91 http://ftpmaster.internal/ubuntu disco/main armhf libfontconfig1 armhf 2.13.0-5ubuntu3 [93.9 kB] Get:92 http://ftpmaster.internal/ubuntu disco/main armhf libijs-0.35 armhf 0.35-13 [13.9 kB] Get:93 http://ftpmaster.internal/ubuntu disco/main armhf libjbig2dec0 armhf 0.15-2 [51.2 kB] Get:94 http://ftpmaster.internal/ubuntu disco/main armhf libjpeg-turbo8 armhf 2.0.0-0ubuntu2 [90.0 kB] Get:95 http://ftpmaster.internal/ubuntu disco/main armhf libjpeg8 armhf 8c-2ubuntu8 [2202 B] Get:96 http://ftpmaster.internal/ubuntu disco/main armhf libpaper1 armhf 1.1.26 [12.1 kB] Get:97 http://ftpmaster.internal/ubuntu disco/main armhf libjbig0 armhf 2.1-3.1build1 [23.9 kB] Get:98 http://ftpmaster.internal/ubuntu disco/main armhf libwebp6 armhf 0.6.1-2 [152 kB] Get:99 http://ftpmaster.internal/ubuntu disco/main armhf libtiff5 armhf 4.0.10-3 [139 kB] Get:100 http://ftpmaster.internal/ubuntu disco/main armhf libgs9-common all 9.26~dfsg+0-0ubuntu3 [5092 kB] Get:101 http://ftpmaster.internal/ubuntu disco/main armhf libgs9 armhf 9.26~dfsg+0-0ubuntu3 [2058 kB] Get:102 http://ftpmaster.internal/ubuntu disco/main armhf ghostscript armhf 9.26~dfsg+0-0ubuntu3 [51.8 kB] Get:103 http://ftpmaster.internal/ubuntu disco/universe armhf libnetpbm10 armhf 2:10.0-15.3build1 [47.5 kB] Get:104 http://ftpmaster.internal/ubuntu disco/universe armhf netpbm armhf 2:10.0-15.3build1 [891 kB] Get:105 http://ftpmaster.internal/ubuntu disco/main armhf libpaper-utils armhf 1.1.26 [7920 B] Get:106 http://ftpmaster.internal/ubuntu disco/main armhf libkpathsea6 armhf 2018.20181218.49446-1 [47.7 kB] Get:107 http://ftpmaster.internal/ubuntu disco/main armhf libptexenc1 armhf 2018.20181218.49446-1 [32.6 kB] Get:108 http://ftpmaster.internal/ubuntu disco/main armhf libsynctex2 armhf 2018.20181218.49446-1 [42.0 kB] Get:109 http://ftpmaster.internal/ubuntu disco/main armhf libtexlua52 armhf 2018.20181218.49446-1 [68.0 kB] Get:110 http://ftpmaster.internal/ubuntu disco/main armhf libtexlua53 armhf 2018.20181218.49446-1 [80.2 kB] Get:111 http://ftpmaster.internal/ubuntu disco/main armhf libtexluajit2 armhf 2018.20181218.49446-1 [179 kB] Get:112 http://ftpmaster.internal/ubuntu disco/main armhf t1utils armhf 1.41-3 [48.2 kB] Get:113 http://ftpmaster.internal/ubuntu disco/main armhf libbrotli1 armhf 1.0.7-1 [268 kB] Get:114 http://ftpmaster.internal/ubuntu disco/main armhf libpixman-1-0 armhf 0.36.0-1 [157 kB] Get:115 http://ftpmaster.internal/ubuntu disco/main armhf libxcb-render0 armhf 1.13.1-2 [13.9 kB] Get:116 http://ftpmaster.internal/ubuntu disco/main armhf libxcb-shm0 armhf 1.13.1-2 [5380 B] Get:117 http://ftpmaster.internal/ubuntu disco/main armhf libxrender1 armhf 1:0.9.10-1 [15.6 kB] Get:118 http://ftpmaster.internal/ubuntu disco-proposed/main armhf libcairo2 armhf 1.16.0-2 [511 kB] Get:119 http://ftpmaster.internal/ubuntu disco/main armhf libgraphite2-3 armhf 1.3.12-1 [63.1 kB] Get:120 http://ftpmaster.internal/ubuntu disco/main armhf libharfbuzz0b armhf 2.3.0-1 [327 kB] Get:121 http://ftpmaster.internal/ubuntu disco/main armhf libharfbuzz-icu0 armhf 2.3.0-1 [5004 B] Get:122 http://ftpmaster.internal/ubuntu disco/main armhf libpotrace0 armhf 1.15-1 [15.2 kB] Get:123 http://ftpmaster.internal/ubuntu disco/main armhf libteckit0 armhf 2.5.8+ds2-5ubuntu1 [245 kB] Get:124 http://ftpmaster.internal/ubuntu disco/main armhf libwoff1 armhf 1.0.2-1build1 [35.3 kB] Get:125 http://ftpmaster.internal/ubuntu disco/main armhf libxt6 armhf 1:1.1.5-1 [129 kB] Get:126 http://ftpmaster.internal/ubuntu disco/main armhf libxmu6 armhf 2:1.1.2-2 [38.3 kB] Get:127 http://ftpmaster.internal/ubuntu disco/main armhf libxpm4 armhf 1:3.5.12-1 [29.0 kB] Get:128 http://ftpmaster.internal/ubuntu disco/main armhf libxaw7 armhf 2:1.0.13-1 [141 kB] Get:129 http://ftpmaster.internal/ubuntu disco/main armhf libxi6 armhf 2:1.7.9-1 [26.1 kB] Get:130 http://ftpmaster.internal/ubuntu disco/main armhf libxxhash0 armhf 0.6.5-2 [10.2 kB] Get:131 http://ftpmaster.internal/ubuntu disco/main armhf libzzip-0-13 armhf 0.13.62-3.1ubuntu1 [22.2 kB] Get:132 http://ftpmaster.internal/ubuntu disco/main armhf texlive-binaries armhf 2018.20181218.49446-1 [10.1 MB] Get:133 http://ftpmaster.internal/ubuntu disco/main armhf xdg-utils all 1.1.3-1ubuntu2 [60.5 kB] Get:134 http://ftpmaster.internal/ubuntu disco/main armhf texlive-base all 2018.20181214-1 [19.4 MB] Get:135 http://ftpmaster.internal/ubuntu disco/universe armhf hevea all 2.32-2 [884 kB] Get:136 http://ftpmaster.internal/ubuntu disco/main armhf texlive-latex-base all 2018.20181214-1 [956 kB] Get:137 http://ftpmaster.internal/ubuntu disco/universe armhf latexmk all 1:4.61-0.1 [378 kB] Get:138 http://ftpmaster.internal/ubuntu disco/main armhf libexpat1-dev armhf 2.2.6-1 [107 kB] Get:139 http://ftpmaster.internal/ubuntu disco/universe armhf libfindlib-ocaml armhf 1.7.3-2 [158 kB] Get:140 http://ftpmaster.internal/ubuntu disco-proposed/universe armhf libmenhir-ocaml-dev armhf 20181113-1 [201 kB] Get:141 http://ftpmaster.internal/ubuntu disco/universe armhf libparmap-ocaml armhf 1.0~rc10-1 [34.3 kB] Get:142 http://ftpmaster.internal/ubuntu disco/universe armhf libparmap-ocaml-dev armhf 1.0~rc10-1 [37.8 kB] Get:143 http://ftpmaster.internal/ubuntu disco/universe armhf libpcre-ocaml armhf 7.2.3-2build1 [87.2 kB] Get:144 http://ftpmaster.internal/ubuntu disco/main armhf libpcre16-3 armhf 2:8.39-11 [128 kB] Get:145 http://ftpmaster.internal/ubuntu disco/main armhf libpcre32-3 armhf 2:8.39-11 [120 kB] Get:146 http://ftpmaster.internal/ubuntu disco/main armhf libpcrecpp0v5 armhf 2:8.39-11 [13.2 kB] Get:147 http://ftpmaster.internal/ubuntu disco/main armhf libpcre3-dev armhf 2:8.39-11 [474 kB] Get:148 http://ftpmaster.internal/ubuntu disco/universe armhf ocaml-findlib armhf 1.7.3-2 [343 kB] Get:149 http://ftpmaster.internal/ubuntu disco/universe armhf libpcre-ocaml-dev armhf 7.2.3-2build1 [226 kB] Get:150 http://ftpmaster.internal/ubuntu disco/main armhf libpython2.7 armhf 2.7.15-5 [891 kB] Get:151 http://ftpmaster.internal/ubuntu disco/universe armhf libpycaml-ocaml armhf 0.82-15build1 [12.5 kB] Get:152 http://ftpmaster.internal/ubuntu disco/main armhf libpython2.7-dev armhf 2.7.15-5 [30.9 MB] Get:153 http://ftpmaster.internal/ubuntu disco/main armhf libpython2-dev armhf 2.7.15-3 [7788 B] Get:154 http://ftpmaster.internal/ubuntu disco/main armhf libpython-dev armhf 2.7.15-3 [5888 B] Get:155 http://ftpmaster.internal/ubuntu disco/main armhf python2.7-dev armhf 2.7.15-5 [280 kB] Get:156 http://ftpmaster.internal/ubuntu disco/main armhf python2-dev armhf 2.7.15-3 [1244 B] Get:157 http://ftpmaster.internal/ubuntu disco/main armhf python-dev armhf 2.7.15-3 [1220 B] Get:158 http://ftpmaster.internal/ubuntu disco/universe armhf libpycaml-ocaml-dev armhf 0.82-15build1 [354 kB] Get:159 http://ftpmaster.internal/ubuntu disco-proposed/universe armhf menhir armhf 20181113-1 [594 kB] Get:160 http://ftpmaster.internal/ubuntu disco/main armhf pkg-config armhf 0.29.1-0ubuntu2 [42.0 kB] Get:161 http://ftpmaster.internal/ubuntu disco/main armhf preview-latex-style all 11.91-1ubuntu1 [185 kB] Get:162 http://ftpmaster.internal/ubuntu disco/universe armhf texlive-fonts-extra all 2018.20181214-1 [406 MB] Get:163 http://ftpmaster.internal/ubuntu disco/universe armhf texlive-fonts-recommended all 2018.20181214-1 [5265 kB] Get:164 http://ftpmaster.internal/ubuntu disco/main armhf texlive-latex-recommended all 2018.20181214-1 [15.3 MB] Get:165 http://ftpmaster.internal/ubuntu disco/universe armhf texlive-pictures all 2018.20181214-1 [4124 kB] Get:166 http://ftpmaster.internal/ubuntu disco/universe armhf texlive-latex-extra all 2018.20181214-1 [11.8 MB] Get:167 http://ftpmaster.internal/ubuntu disco/universe armhf dh-ocaml all 1.1.0 [79.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 624 MB in 47s (13.3 MB/s) Selecting previously unselected package libpython3.7-minimal:armhf. (Reading database ... 12406 files and directories currently installed.) Preparing to unpack .../libpython3.7-minimal_3.7.2-1_armhf.deb ... Unpacking libpython3.7-minimal:armhf (3.7.2-1) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.2.6-1_armhf.deb ... Unpacking libexpat1:armhf (2.2.6-1) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../python3.7-minimal_3.7.2-1_armhf.deb ... Unpacking python3.7-minimal (3.7.2-1) ... Setting up libpython3.7-minimal:armhf (3.7.2-1) ... Setting up libexpat1:armhf (2.2.6-1) ... Setting up python3.7-minimal (3.7.2-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 12655 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.7.1-1ubuntu1_armhf.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:armhf. Preparing to unpack .../2-libmpdec2_2.4.2-2_armhf.deb ... Unpacking libmpdec2:armhf (2.4.2-2) ... Selecting previously unselected package libpython3.7-stdlib:armhf. Preparing to unpack .../3-libpython3.7-stdlib_3.7.2-1_armhf.deb ... Unpacking libpython3.7-stdlib:armhf (3.7.2-1) ... Selecting previously unselected package python3.7. Preparing to unpack .../4-python3.7_3.7.2-1_armhf.deb ... Unpacking python3.7 (3.7.2-1) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../5-libpython3-stdlib_3.7.1-1ubuntu1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.7.1-1ubuntu1) ... Setting up python3-minimal (3.7.1-1ubuntu1) ... Selecting previously unselected package python3. (Reading database ... 13089 files and directories currently installed.) Preparing to unpack .../00-python3_3.7.1-1ubuntu1_armhf.deb ... Unpacking python3 (3.7.1-1ubuntu1) ... Selecting previously unselected package libxau6:armhf. Preparing to unpack .../01-libxau6_1%3a1.0.8-1_armhf.deb ... Unpacking libxau6:armhf (1:1.0.8-1) ... Selecting previously unselected package libbsd0:armhf. Preparing to unpack .../02-libbsd0_0.9.1-1_armhf.deb ... Unpacking libbsd0:armhf (0.9.1-1) ... Selecting previously unselected package libxdmcp6:armhf. Preparing to unpack .../03-libxdmcp6_1%3a1.1.2-3_armhf.deb ... Unpacking libxdmcp6:armhf (1:1.1.2-3) ... Selecting previously unselected package libxcb1:armhf. Preparing to unpack .../04-libxcb1_1.13.1-2_armhf.deb ... Unpacking libxcb1:armhf (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:armhf. Preparing to unpack .../06-libx11-6_2%3a1.6.7-1_armhf.deb ... Unpacking libx11-6:armhf (2:1.6.7-1) ... Selecting previously unselected package libxext6:armhf. Preparing to unpack .../07-libxext6_2%3a1.3.3-1_armhf.deb ... Unpacking libxext6:armhf (2:1.3.3-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../08-bsdmainutils_11.1.2ubuntu2_armhf.deb ... Unpacking bsdmainutils (11.1.2ubuntu2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../09-libuchardet0_0.0.6-3_armhf.deb ... Unpacking libuchardet0:armhf (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../10-groff-base_1.22.4-2_armhf.deb ... Unpacking groff-base (1.22.4-2) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../11-libpipeline1_1.5.0-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.0-2) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.8.5-1_armhf.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:armhf. Preparing to unpack .../14-libice6_2%3a1.0.9-2_armhf.deb ... Unpacking libice6:armhf (2:1.0.9-2) ... Selecting previously unselected package libsm6:armhf. Preparing to unpack .../15-libsm6_2%3a1.2.2-1_armhf.deb ... Unpacking libsm6:armhf (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:armhf. Preparing to unpack .../17-libpython2.7-minimal_2.7.15-5_armhf.deb ... Unpacking libpython2.7-minimal:armhf (2.7.15-5) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../18-python2.7-minimal_2.7.15-5_armhf.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_armhf.deb ... Unpacking python2-minimal (2.7.15-3) ... Selecting previously unselected package python-minimal. Preparing to unpack .../20-python-minimal_2.7.15-3_armhf.deb ... Unpacking python-minimal (2.7.15-3) ... Selecting previously unselected package libpython2.7-stdlib:armhf. Preparing to unpack .../21-libpython2.7-stdlib_2.7.15-5_armhf.deb ... Unpacking libpython2.7-stdlib:armhf (2.7.15-5) ... Selecting previously unselected package python2.7. Preparing to unpack .../22-python2.7_2.7.15-5_armhf.deb ... Unpacking python2.7 (2.7.15-5) ... Selecting previously unselected package libpython2-stdlib:armhf. Preparing to unpack .../23-libpython2-stdlib_2.7.15-3_armhf.deb ... Unpacking libpython2-stdlib:armhf (2.7.15-3) ... Selecting previously unselected package libpython-stdlib:armhf. Preparing to unpack .../24-libpython-stdlib_2.7.15-3_armhf.deb ... Unpacking libpython-stdlib:armhf (2.7.15-3) ... Setting up libpython2.7-minimal:armhf (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 ... 15294 files and directories currently installed.) Preparing to unpack .../python2_2.7.15-3_armhf.deb ... Unpacking python2 (2.7.15-3) ... Setting up python-minimal (2.7.15-3) ... Selecting previously unselected package python. (Reading database ... 15326 files and directories currently installed.) Preparing to unpack .../000-python_2.7.15-3_armhf.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_armhf.deb ... Unpacking libmagic-mgc (1:5.34-2) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../004-libmagic1_1%3a5.34-2_armhf.deb ... Unpacking libmagic1:armhf (1:5.34-2) ... Selecting previously unselected package file. Preparing to unpack .../005-file_1%3a5.34-2_armhf.deb ... Unpacking file (1:5.34-2) ... Selecting previously unselected package libdbus-1-3:armhf. Preparing to unpack .../006-libdbus-1-3_1.12.10-1ubuntu2_armhf.deb ... Unpacking libdbus-1-3:armhf (1.12.10-1ubuntu2) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../007-libelf1_0.175-2_armhf.deb ... Unpacking libelf1:armhf (0.175-2) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../008-libglib2.0-0_2.58.1-2_armhf.deb ... Unpacking libglib2.0-0:armhf (2.58.1-2) ... Selecting previously unselected package libicu63:armhf. Preparing to unpack .../009-libicu63_63.1-5_armhf.deb ... Unpacking libicu63:armhf (63.1-5) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../010-libxml2_2.9.4+dfsg1-7ubuntu3_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-7ubuntu3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../011-gettext-base_0.19.8.1-9_armhf.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../012-libkrb5support0_1.16.2-1_armhf.deb ... Unpacking libkrb5support0:armhf (1.16.2-1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../013-libk5crypto3_1.16.2-1_armhf.deb ... Unpacking libk5crypto3:armhf (1.16.2-1) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../014-libkeyutils1_1.5.9-9.3_armhf.deb ... Unpacking libkeyutils1:armhf (1.5.9-9.3) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../015-libkrb5-3_1.16.2-1_armhf.deb ... Unpacking libkrb5-3:armhf (1.16.2-1) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../016-libgssapi-krb5-2_1.16.2-1_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.16.2-1) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../017-libsigsegv2_2.12-2_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../018-m4_1.4.18-2_armhf.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_armhf.deb ... Unpacking ocaml-base-nox (4.05.0-10ubuntu2) ... Selecting previously unselected package libncurses-dev:armhf. Preparing to unpack .../024-libncurses-dev_6.1+20180210-4ubuntu1_armhf.deb ... Unpacking libncurses-dev:armhf (6.1+20180210-4ubuntu1) ... Selecting previously unselected package libncurses5-dev:armhf. Preparing to unpack .../025-libncurses5-dev_6.1+20180210-4ubuntu1_armhf.deb ... Unpacking libncurses5-dev:armhf (6.1+20180210-4ubuntu1) ... Selecting previously unselected package ocaml-compiler-libs. Preparing to unpack .../026-ocaml-compiler-libs_4.05.0-10ubuntu2_armhf.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_armhf.deb ... Unpacking ocaml-interp (4.05.0-10ubuntu2) ... Selecting previously unselected package ocaml-nox. Preparing to unpack .../028-ocaml-nox_4.05.0-10ubuntu2_armhf.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_armhf.deb ... Unpacking libcamlp4-ocaml-dev (4.05+1-2) ... Selecting previously unselected package camlp4. Preparing to unpack .../030-camlp4_4.05+1-2_armhf.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_armhf.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../037-libcroco3_0.6.12-3_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-3) ... Selecting previously unselected package gettext. Preparing to unpack .../038-gettext_0.19.8.1-9_armhf.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:armhf. Preparing to unpack .../048-libavahi-common-data_0.7-4ubuntu4_armhf.deb ... Unpacking libavahi-common-data:armhf (0.7-4ubuntu4) ... Selecting previously unselected package libavahi-common3:armhf. Preparing to unpack .../049-libavahi-common3_0.7-4ubuntu4_armhf.deb ... Unpacking libavahi-common3:armhf (0.7-4ubuntu4) ... Selecting previously unselected package libavahi-client3:armhf. Preparing to unpack .../050-libavahi-client3_0.7-4ubuntu4_armhf.deb ... Unpacking libavahi-client3:armhf (0.7-4ubuntu4) ... Selecting previously unselected package libcups2:armhf. Preparing to unpack .../051-libcups2_2.2.10-3_armhf.deb ... Unpacking libcups2:armhf (2.2.10-3) ... Selecting previously unselected package libcupsimage2:armhf. Preparing to unpack .../052-libcupsimage2_2.2.10-3_armhf.deb ... Unpacking libcupsimage2:armhf (2.2.10-3) ... Selecting previously unselected package libfreetype6:armhf. Preparing to unpack .../053-libfreetype6_2.8.1-2ubuntu2_armhf.deb ... Unpacking libfreetype6:armhf (2.8.1-2ubuntu2) ... Selecting previously unselected package libfontconfig1:armhf. Preparing to unpack .../054-libfontconfig1_2.13.0-5ubuntu3_armhf.deb ... Unpacking libfontconfig1:armhf (2.13.0-5ubuntu3) ... Selecting previously unselected package libijs-0.35:armhf. Preparing to unpack .../055-libijs-0.35_0.35-13_armhf.deb ... Unpacking libijs-0.35:armhf (0.35-13) ... Selecting previously unselected package libjbig2dec0:armhf. Preparing to unpack .../056-libjbig2dec0_0.15-2_armhf.deb ... Unpacking libjbig2dec0:armhf (0.15-2) ... Selecting previously unselected package libjpeg-turbo8:armhf. Preparing to unpack .../057-libjpeg-turbo8_2.0.0-0ubuntu2_armhf.deb ... Unpacking libjpeg-turbo8:armhf (2.0.0-0ubuntu2) ... Selecting previously unselected package libjpeg8:armhf. Preparing to unpack .../058-libjpeg8_8c-2ubuntu8_armhf.deb ... Unpacking libjpeg8:armhf (8c-2ubuntu8) ... Selecting previously unselected package libpaper1:armhf. Preparing to unpack .../059-libpaper1_1.1.26_armhf.deb ... Unpacking libpaper1:armhf (1.1.26) ... Selecting previously unselected package libjbig0:armhf. Preparing to unpack .../060-libjbig0_2.1-3.1build1_armhf.deb ... Unpacking libjbig0:armhf (2.1-3.1build1) ... Selecting previously unselected package libwebp6:armhf. Preparing to unpack .../061-libwebp6_0.6.1-2_armhf.deb ... Unpacking libwebp6:armhf (0.6.1-2) ... Selecting previously unselected package libtiff5:armhf. Preparing to unpack .../062-libtiff5_4.0.10-3_armhf.deb ... Unpacking libtiff5:armhf (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:armhf. Preparing to unpack .../064-libgs9_9.26~dfsg+0-0ubuntu3_armhf.deb ... Unpacking libgs9:armhf (9.26~dfsg+0-0ubuntu3) ... Selecting previously unselected package ghostscript. Preparing to unpack .../065-ghostscript_9.26~dfsg+0-0ubuntu3_armhf.deb ... Unpacking ghostscript (9.26~dfsg+0-0ubuntu3) ... Selecting previously unselected package libnetpbm10. Preparing to unpack .../066-libnetpbm10_2%3a10.0-15.3build1_armhf.deb ... Unpacking libnetpbm10 (2:10.0-15.3build1) ... Selecting previously unselected package netpbm. Preparing to unpack .../067-netpbm_2%3a10.0-15.3build1_armhf.deb ... Unpacking netpbm (2:10.0-15.3build1) ... Selecting previously unselected package libpaper-utils. Preparing to unpack .../068-libpaper-utils_1.1.26_armhf.deb ... Unpacking libpaper-utils (1.1.26) ... Selecting previously unselected package libkpathsea6:armhf. Preparing to unpack .../069-libkpathsea6_2018.20181218.49446-1_armhf.deb ... Unpacking libkpathsea6:armhf (2018.20181218.49446-1) ... Selecting previously unselected package libptexenc1:armhf. Preparing to unpack .../070-libptexenc1_2018.20181218.49446-1_armhf.deb ... Unpacking libptexenc1:armhf (2018.20181218.49446-1) ... Selecting previously unselected package libsynctex2:armhf. Preparing to unpack .../071-libsynctex2_2018.20181218.49446-1_armhf.deb ... Unpacking libsynctex2:armhf (2018.20181218.49446-1) ... Selecting previously unselected package libtexlua52:armhf. Preparing to unpack .../072-libtexlua52_2018.20181218.49446-1_armhf.deb ... Unpacking libtexlua52:armhf (2018.20181218.49446-1) ... Selecting previously unselected package libtexlua53:armhf. Preparing to unpack .../073-libtexlua53_2018.20181218.49446-1_armhf.deb ... Unpacking libtexlua53:armhf (2018.20181218.49446-1) ... Selecting previously unselected package libtexluajit2:armhf. Preparing to unpack .../074-libtexluajit2_2018.20181218.49446-1_armhf.deb ... Unpacking libtexluajit2:armhf (2018.20181218.49446-1) ... Selecting previously unselected package t1utils. Preparing to unpack .../075-t1utils_1.41-3_armhf.deb ... Unpacking t1utils (1.41-3) ... Selecting previously unselected package libbrotli1:armhf. Preparing to unpack .../076-libbrotli1_1.0.7-1_armhf.deb ... Unpacking libbrotli1:armhf (1.0.7-1) ... Selecting previously unselected package libpixman-1-0:armhf. Preparing to unpack .../077-libpixman-1-0_0.36.0-1_armhf.deb ... Unpacking libpixman-1-0:armhf (0.36.0-1) ... Selecting previously unselected package libxcb-render0:armhf. Preparing to unpack .../078-libxcb-render0_1.13.1-2_armhf.deb ... Unpacking libxcb-render0:armhf (1.13.1-2) ... Selecting previously unselected package libxcb-shm0:armhf. Preparing to unpack .../079-libxcb-shm0_1.13.1-2_armhf.deb ... Unpacking libxcb-shm0:armhf (1.13.1-2) ... Selecting previously unselected package libxrender1:armhf. Preparing to unpack .../080-libxrender1_1%3a0.9.10-1_armhf.deb ... Unpacking libxrender1:armhf (1:0.9.10-1) ... Selecting previously unselected package libcairo2:armhf. Preparing to unpack .../081-libcairo2_1.16.0-2_armhf.deb ... Unpacking libcairo2:armhf (1.16.0-2) ... Selecting previously unselected package libgraphite2-3:armhf. Preparing to unpack .../082-libgraphite2-3_1.3.12-1_armhf.deb ... Unpacking libgraphite2-3:armhf (1.3.12-1) ... Selecting previously unselected package libharfbuzz0b:armhf. Preparing to unpack .../083-libharfbuzz0b_2.3.0-1_armhf.deb ... Unpacking libharfbuzz0b:armhf (2.3.0-1) ... Selecting previously unselected package libharfbuzz-icu0:armhf. Preparing to unpack .../084-libharfbuzz-icu0_2.3.0-1_armhf.deb ... Unpacking libharfbuzz-icu0:armhf (2.3.0-1) ... Selecting previously unselected package libpotrace0:armhf. Preparing to unpack .../085-libpotrace0_1.15-1_armhf.deb ... Unpacking libpotrace0:armhf (1.15-1) ... Selecting previously unselected package libteckit0:armhf. Preparing to unpack .../086-libteckit0_2.5.8+ds2-5ubuntu1_armhf.deb ... Unpacking libteckit0:armhf (2.5.8+ds2-5ubuntu1) ... Selecting previously unselected package libwoff1:armhf. Preparing to unpack .../087-libwoff1_1.0.2-1build1_armhf.deb ... Unpacking libwoff1:armhf (1.0.2-1build1) ... Selecting previously unselected package libxt6:armhf. Preparing to unpack .../088-libxt6_1%3a1.1.5-1_armhf.deb ... Unpacking libxt6:armhf (1:1.1.5-1) ... Selecting previously unselected package libxmu6:armhf. Preparing to unpack .../089-libxmu6_2%3a1.1.2-2_armhf.deb ... Unpacking libxmu6:armhf (2:1.1.2-2) ... Selecting previously unselected package libxpm4:armhf. Preparing to unpack .../090-libxpm4_1%3a3.5.12-1_armhf.deb ... Unpacking libxpm4:armhf (1:3.5.12-1) ... Selecting previously unselected package libxaw7:armhf. Preparing to unpack .../091-libxaw7_2%3a1.0.13-1_armhf.deb ... Unpacking libxaw7:armhf (2:1.0.13-1) ... Selecting previously unselected package libxi6:armhf. Preparing to unpack .../092-libxi6_2%3a1.7.9-1_armhf.deb ... Unpacking libxi6:armhf (2:1.7.9-1) ... Selecting previously unselected package libxxhash0:armhf. Preparing to unpack .../093-libxxhash0_0.6.5-2_armhf.deb ... Unpacking libxxhash0:armhf (0.6.5-2) ... Selecting previously unselected package libzzip-0-13:armhf. Preparing to unpack .../094-libzzip-0-13_0.13.62-3.1ubuntu1_armhf.deb ... Unpacking libzzip-0-13:armhf (0.13.62-3.1ubuntu1) ... Selecting previously unselected package texlive-binaries. Preparing to unpack .../095-texlive-binaries_2018.20181218.49446-1_armhf.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:armhf. Preparing to unpack .../101-libexpat1-dev_2.2.6-1_armhf.deb ... Unpacking libexpat1-dev:armhf (2.2.6-1) ... Selecting previously unselected package libfindlib-ocaml. Preparing to unpack .../102-libfindlib-ocaml_1.7.3-2_armhf.deb ... Unpacking libfindlib-ocaml (1.7.3-2) ... Selecting previously unselected package libmenhir-ocaml-dev. Preparing to unpack .../103-libmenhir-ocaml-dev_20181113-1_armhf.deb ... Unpacking libmenhir-ocaml-dev (20181113-1) ... Selecting previously unselected package libparmap-ocaml. Preparing to unpack .../104-libparmap-ocaml_1.0~rc10-1_armhf.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_armhf.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_armhf.deb ... Unpacking libpcre-ocaml (7.2.3-2build1) ... Selecting previously unselected package libpcre16-3:armhf. Preparing to unpack .../107-libpcre16-3_2%3a8.39-11_armhf.deb ... Unpacking libpcre16-3:armhf (2:8.39-11) ... Selecting previously unselected package libpcre32-3:armhf. Preparing to unpack .../108-libpcre32-3_2%3a8.39-11_armhf.deb ... Unpacking libpcre32-3:armhf (2:8.39-11) ... Selecting previously unselected package libpcrecpp0v5:armhf. Preparing to unpack .../109-libpcrecpp0v5_2%3a8.39-11_armhf.deb ... Unpacking libpcrecpp0v5:armhf (2:8.39-11) ... Selecting previously unselected package libpcre3-dev:armhf. Preparing to unpack .../110-libpcre3-dev_2%3a8.39-11_armhf.deb ... Unpacking libpcre3-dev:armhf (2:8.39-11) ... Selecting previously unselected package ocaml-findlib. Preparing to unpack .../111-ocaml-findlib_1.7.3-2_armhf.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_armhf.deb ... Unpacking libpcre-ocaml-dev (7.2.3-2build1) ... Selecting previously unselected package libpython2.7:armhf. Preparing to unpack .../113-libpython2.7_2.7.15-5_armhf.deb ... Unpacking libpython2.7:armhf (2.7.15-5) ... Selecting previously unselected package libpycaml-ocaml. Preparing to unpack .../114-libpycaml-ocaml_0.82-15build1_armhf.deb ... Unpacking libpycaml-ocaml (0.82-15build1) ... Selecting previously unselected package libpython2.7-dev:armhf. Preparing to unpack .../115-libpython2.7-dev_2.7.15-5_armhf.deb ... Unpacking libpython2.7-dev:armhf (2.7.15-5) ... Selecting previously unselected package libpython2-dev:armhf. Preparing to unpack .../116-libpython2-dev_2.7.15-3_armhf.deb ... Unpacking libpython2-dev:armhf (2.7.15-3) ... Selecting previously unselected package libpython-dev:armhf. Preparing to unpack .../117-libpython-dev_2.7.15-3_armhf.deb ... Unpacking libpython-dev:armhf (2.7.15-3) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../118-python2.7-dev_2.7.15-5_armhf.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_armhf.deb ... Unpacking python2-dev (2.7.15-3) ... Selecting previously unselected package python-dev. Preparing to unpack .../120-python-dev_2.7.15-3_armhf.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_armhf.deb ... Unpacking libpycaml-ocaml-dev (0.82-15build1) ... Selecting previously unselected package menhir. Preparing to unpack .../122-menhir_20181113-1_armhf.deb ... Unpacking menhir (20181113-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../123-pkg-config_0.29.1-0ubuntu2_armhf.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_armhf.deb ... Unpacking sbuild-build-depends-coccinelle-dummy (0.invalid.0) ... Setting up libgs9-common (9.26~dfsg+0-0ubuntu3) ... Setting up libbrotli1:armhf (1.0.7-1) ... Setting up libkpathsea6:armhf (2018.20181218.49446-1) ... Setting up libtexlua52:armhf (2018.20181218.49446-1) ... Setting up libptexenc1:armhf (2018.20181218.49446-1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up mime-support (3.60ubuntu1) ... Setting up libwoff1:armhf (1.0.2-1build1) ... Setting up libicu63:armhf (63.1-5) ... Setting up libjbig0:armhf (2.1-3.1build1) ... Setting up libsigsegv2:armhf (2.12-2) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up poppler-data (0.4.9-2) ... Setting up libelf1:armhf (0.175-2) ... Setting up libglib2.0-0:armhf (2.58.1-2) ... No schema files found: doing nothing. Setting up libnetpbm10 (2:10.0-15.3build1) ... Setting up libtexlua53:armhf (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:armhf (2018.20181218.49446-1) ... Setting up libjpeg-turbo8:armhf (2.0.0-0ubuntu2) ... Setting up libpipeline1:armhf (1.5.0-2) ... Setting up libpcre-ocaml (7.2.3-2build1) ... Setting up m4 (1.4.18-2) ... Setting up libxxhash0:armhf (0.6.5-2) ... Setting up libbsd0:armhf (0.9.1-1) ... Setting up libkrb5support0:armhf (1.16.2-1) ... Setting up menhir (20181113-1) ... Setting up ucf (3.0038+nmu1) ... Setting up libxml2:armhf (2.9.4+dfsg1-7ubuntu3) ... Setting up libuchardet0:armhf (0.0.6-3) ... Setting up libfreetype6:armhf (2.8.1-2ubuntu2) ... Setting up libmagic-mgc (1:5.34-2) ... Setting up libmagic1:armhf (1:5.34-2) ... Setting up libgraphite2-3:armhf (1.3.12-1) ... Setting up libcroco3:armhf (0.6.12-3) ... Setting up pkg-config (0.29.1-0ubuntu2) ... Setting up libjbig2dec0:armhf (0.15-2) ... Setting up libpixman-1-0:armhf (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:armhf (0.35-13) ... Setting up libexpat1-dev:armhf (2.2.6-1) ... Setting up libpotrace0:armhf (1.15-1) ... Setting up libpcrecpp0v5:armhf (2:8.39-11) ... Setting up libpcre32-3:armhf (2:8.39-11) ... Setting up libteckit0:armhf (2.5.8+ds2-5ubuntu1) ... Setting up libpcre16-3:armhf (2:8.39-11) ... Setting up libxdmcp6:armhf (1:1.1.2-3) ... Setting up libkeyutils1:armhf (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:armhf (0.13.62-3.1ubuntu1) ... Setting up xdg-utils (1.1.3-1ubuntu2) ... Setting up libncurses-dev:armhf (6.1+20180210-4ubuntu1) ... Setting up libfindlib-ocaml (1.7.3-2) ... Setting up libtexluajit2:armhf (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:armhf (2.7.15-5) ... Setting up libxau6:armhf (1:1.0.8-1) ... Setting up autopoint (0.19.8.1-9) ... Setting up libmpdec2:armhf (2.4.2-2) ... Setting up libdbus-1-3:armhf (1.12.10-1ubuntu2) ... Setting up fonts-lmodern (2.004.5-5) ... Setting up libavahi-common-data:armhf (0.7-4ubuntu4) ... Setting up libwebp6:armhf (0.6.1-2) ... Setting up libfile-stripnondeterminism-perl (1.0.0-1) ... Setting up libjpeg8:armhf (8c-2ubuntu8) ... Setting up libpaper1:armhf (1.1.26) ... Creating config file /etc/papersize with new version Setting up libk5crypto3:armhf (1.16.2-1) ... Setting up libpaper-utils (1.1.26) ... Setting up libpcre3-dev:armhf (2:8.39-11) ... Setting up libpython3.7-stdlib:armhf (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:armhf (2.3.0-1) ... Setting up libtiff5:armhf (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:armhf (6.1+20180210-4ubuntu1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up libpython2.7:armhf (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:armhf (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:armhf (2.7.15-3) ... Setting up libkrb5-3:armhf (1.16.2-1) ... Setting up libpython2.7-dev:armhf (2.7.15-5) ... Setting up libavahi-common3:armhf (0.7-4ubuntu4) ... Setting up python2.7-dev (2.7.15-5) ... Setting up libxcb1:armhf (1.13.1-2) ... Setting up libtool (2.4.6-6) ... Setting up libpython3-stdlib:armhf (3.7.1-1ubuntu1) ... Setting up libfontconfig1:armhf (2.13.0-5ubuntu3) ... Setting up libsm6:armhf (2:1.2.2-1) ... Setting up libxcb-render0:armhf (1.13.1-2) ... Setting up libharfbuzz-icu0:armhf (2.3.0-1) ... Setting up po-debconf (1.0.21) ... Setting up python3 (3.7.1-1ubuntu1) ... Setting up libx11-6:armhf (2:1.6.7-1) ... Setting up libpycaml-ocaml (0.82-15build1) ... Setting up python2 (2.7.15-3) ... Setting up libgssapi-krb5-2:armhf (1.16.2-1) ... Setting up libpython2-dev:armhf (2.7.15-3) ... Setting up libpython-stdlib:armhf (2.7.15-3) ... Setting up python2-dev (2.7.15-3) ... Setting up libxcb-shm0:armhf (1.13.1-2) ... Setting up libxpm4:armhf (1:3.5.12-1) ... Setting up libxt6:armhf (1:1.1.5-1) ... Setting up libxrender1:armhf (1:0.9.10-1) ... Setting up libavahi-client3:armhf (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:armhf (2.2.10-3) ... Setting up libpython-dev:armhf (2.7.15-3) ... Setting up libxext6:armhf (2:1.3.3-1) ... Setting up python-dev (2.7.15-3) ... Setting up libxmu6:armhf (2:1.1.2-2) ... Setting up libcupsimage2:armhf (2.2.10-3) ... Setting up libgs9:armhf (9.26~dfsg+0-0ubuntu3) ... Setting up dh-python (3.20180927ubuntu2) ... Setting up libxi6:armhf (2:1.7.9-1) ... Setting up libxaw7:armhf (2:1.0.13-1) ... Setting up libcairo2:armhf (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 arm64 (armv7l) 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-arm-linux-gnueabihf_2.31.1-11ubuntu1 binutils-common_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 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 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 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-16242189 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-16242189 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-16242189 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 armhf 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:15:41 +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 File "common.ml", line 2197, characters 16-32: Warning 3: deprecated: String.lowercase Use String.lowercase_ascii instead. /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/suffix_tree_ext.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c interfaces.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c objet.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c seti.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c glimpse.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c parser_combinators.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection.ml 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 oassoc.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oset.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c osequence.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/oassocb.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/osetb.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oarray.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -a -o commons.cmxa ocamlextra/dumper.cmx ocamlextra/setb.cmx ocamlextra/mapb.cmx ocamlextra/setPt.cmx commands.cmx common.cmx interfaces.cmx objet.cmx ocollection.cmx seti.cmx oset.cmx oassoc.cmx osequence.cmx ograph.cmx ocollection/osetb.cmx ocollection/oassocb.cmx oarray.cmx ograph_simple.cmx ograph_extended.cmx glimpse.cmx parser_combinators.cmx ocamlextra/enum.cmx ocamlextra/dynArray.cmx ocamlextra/suffix_tree.cmx ocamlextra/suffix_tree_ext.cmx make[8]: Leaving directory '/<>/commons' make[7]: Leaving directory '/<>/commons' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/globals' make[8]: Entering directory '/<>/globals' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c config.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c flag.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c iteration.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c regexp_pcre.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -c 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 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 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 id_utils.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_cocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c 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 skipped building parse_aux.cmo in optimizing mode: parse_aux.cmx will be built instead. /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 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 parser_cocci_menhir.ml /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 get_constants2.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c id_utils.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 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. /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 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[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. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.mli 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 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 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 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. /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/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 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 danger.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 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 unparse_cocci.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. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c asttopopl.mli skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c 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... 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-7790-03302d-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-7790-b068d4-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-7790-9fc8f0-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-7790-d6ec3c-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-7790-0b7d8e-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-7790-4d4138-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { + foo(); goto out; } after(); addbeforeafter.res diff = --- tests/addbeforeafter.c +++ /tmp/cocci-output-7790-5c9d11-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-7790-d16def-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; } addfield.res diff = --- tests/addfield.c +++ /tmp/cocci-output-7790-a5311a-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-7790-50124e-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-7790-e10f61-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-7790-4d41e3-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-7790-764d05-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-7790-768f58-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-7790-fc2692-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-7790-77b286-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-7790-68fa12-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-7790-3a2b96-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-7790-d6c81a-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-7790-b29295-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; out: - return 0; + return 100; } allex3.res diff = --- tests/allex3.c +++ /tmp/cocci-output-7790-d6cead-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; out: - return 0; } anon.res diff = --- tests/anon.c +++ /tmp/cocci-output-7790-604e5c-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-7790-fbae99-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-7790-6d1eda-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-7790-95e845-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-7790-fdaab5-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-7790-0a7da0-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-7790-1bbf17-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-7790-4f3f46-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-7790-07984d-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-7790-5c1204-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-7790-daabfb-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-7790-ae7c5d-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-7790-a23077-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-7790-48f079-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-7790-d7d37a-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-7790-0c7787-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-7790-f9d13b-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-7790-84b91d-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-7790-896adc-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-7790-de6069-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-7790-480a4a-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-7790-305ca1-before.c @@ -1,4 +1,6 @@ int main () { + blah(); one(); + blah(); foo(); } ben.res diff = --- tests/ben.c +++ /tmp/cocci-output-7790-02dc3d-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-7790-ebb703-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) blah(); + bar(); foo(); } bigrepl.res diff = --- tests/bigrepl.c +++ /tmp/cocci-output-7790-4d401a-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-7790-3818c4-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-7790-469b35-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-7790-e2512b-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; int b; } braces.res diff = --- tests/braces.c +++ /tmp/cocci-output-7790-8b22d3-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-7790-a2539d-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-7790-2df48f-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-7790-32f5b5-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-7790-f31e34-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-7790-c157aa-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-7790-ccfea6-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-7790-91a3a4-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-7790-0f015a-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; } cast_iso.res diff = --- tests/cast_iso.c +++ /tmp/cocci-output-7790-6250e1-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-7790-1e24df-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-7790-e1a7b0-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-7790-7b3be5-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-7790-7e4140-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-7790-df0d7a-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-7790-e26ca2-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-7790-75fee7-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-7790-63525c-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-7790-f5fa57-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-7790-ad0ebe-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-7790-1a3ebb-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-7790-c9bc65-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-7790-559c96-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-7790-fa8eb1-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-7790-bffa9d-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-7790-cb8f1f-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-7790-99db12-constrem.c @@ -1,3 +1 @@ -static const int a; -static const int (*f)(const int); constructor.res diff = --- tests/constructor.c +++ /tmp/cocci-output-7790-134595-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-7790-396704-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-7790-709c70-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-7790-91549c-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c +++ /tmp/cocci-output-7790-d50cd9-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-7790-0f8f0e-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-7790-429b04-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-7790-7c8fa9-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-7790-9608f3-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-7790-5f1021-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-7790-10c64c-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-7790-913c98-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-7790-c1623b-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-7790-7c47b6-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-7790-dc16d2-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-7790-845233-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-7790-da8414-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-7790-ed146b-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-7790-195338-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-7790-a1b170-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c +++ /tmp/cocci-output-7790-c0ba5e-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-7790-ce4743-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-7790-6197f5-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-7790-65e50d-delp.c @@ -1,4 +1,4 @@ int main () { return - (foo); + foo; } deref.res diff = --- tests/deref.c +++ /tmp/cocci-output-7790-680a93-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-7790-a48219-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-7790-ece42d-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-7790-6d6b52-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-7790-595efb-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-7790-ea1321-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-7790-062678-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-7790-51f8ad-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-7790-208154-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-7790-981c7d-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-7790-c6653b-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-7790-1b3144-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-7790-5e2552-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-7790-3a4c81-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-7790-5eeb72-dowhile.c @@ -1,7 +1,5 @@ int main() { do { - f(); } while (0); - g(); } dropbr.res diff = --- tests/dropbr.c +++ /tmp/cocci-output-7790-b74e04-dropbr.c @@ -1,5 +1,3 @@ int main () { - if (a) { - bar(); - } + if (a)foo(); } dropcom.res diff = --- tests/dropcom.c +++ /tmp/cocci-output-7790-dd66d5-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-7790-72b22b-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-7790-8bc486-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-7790-cf9e09-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-7790-8d46f3-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-7790-153b2f-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-7790-629d1e-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-7790-7d5bc9-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-7790-249afa-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-7790-f5ca85-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-7790-3aef3e-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-7790-a7b7c5-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_b29f97.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_b29f97.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-7790-dca178-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-7790-d9e042-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_55def6.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_55def6.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-7790-f968cb-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-7790-b74ab2-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-7790-2fe506-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-7790-9d3a56-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-7790-252da8-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-7790-69ba3a-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-7790-661b04-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-7790-dee2e0-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-7790-5ee77c-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_644f6a.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_644f6a.ml File "/tmp/ocaml_cocci_644f6a.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-7790-94b4ee-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-7790-e07294-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-7790-baddf6-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-7790-8b2f9c-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-7790-061f95-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-7790-f2f867-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-7790-bc50ed-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-7790-7983fe-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-7790-6cc11a-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c +++ /tmp/cocci-output-7790-c17b63-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-7790-cc95fe-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_2d4e05.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_2d4e05.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-7790-069f58-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-7790-58e5be-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-7790-619547-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-7790-a3d540-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-7790-eac30d-four.c @@ -1,5 +1,3 @@ int main () { f(1); - h(2); - i(2); } foura.res diff = --- tests/foura.c +++ /tmp/cocci-output-7790-2869e7-foura.c @@ -1,5 +1,4 @@ int main () { f(1); h(2); - i(2); } fp.res diff = --- tests/fp.c +++ /tmp/cocci-output-7790-2b4d52-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); } fsh.res diff = --- tests/fsh.c +++ /tmp/cocci-output-7790-5cb28c-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-7790-226bf1-fun.c @@ -1 +1,4 @@ +struct a { + int a; +}; int f(int x) { return x; } func.res diff = --- tests/func.c +++ /tmp/cocci-output-7790-5866fc-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-7790-e0a672-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-7790-2d7a4e-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-7790-08d6e6-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-7790-37fcfc-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-7790-c0c423-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-7790-48f8c1-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-7790-a9f4de-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); } hil1.res diff = --- tests/hil1.c +++ /tmp/cocci-output-7790-fddb60-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-7790-a51653-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-7790-6d90bd-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-7790-2ef894-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-7790-60dca1-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-7790-ddf9e7-ifdef1.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#include +#endif #include #include ifdef2.res diff = --- tests/ifdef2.c +++ /tmp/cocci-output-7790-398c21-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-7790-0786dd-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-7790-c6a008-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-7790-dbd241-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-7790-cba719-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-7790-d96c47-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-7790-d54230-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-7790-5a8de8-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-7790-c7824f-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 - - - +5 - - - - - +2 - ); } ifdefmeta3.res diff = --- tests/ifdefmeta3.c +++ /tmp/cocci-output-7790-2b8777-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-7790-b99b5e-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-7790-83c202-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-7790-b32f5d-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-7790-db1ec1-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-7790-1335dc-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-7790-0f98cd-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-7790-85c70f-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-7790-c98286-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-7790-7e82a3-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-7790-184f5c-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-7790-19fbd4-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-7790-8a80ea-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-7790-5d1f11-inclifdef.c @@ -1,4 +1,5 @@ #include +#include #ifdef CONFIG #include #endif include.res diff = --- tests/include.c +++ /tmp/cocci-output-7790-a6f38f-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-7790-403d85-incpos.c @@ -1,3 +1,4 @@ +#include #include #include "two" #include incpos1.res diff = --- tests/incpos1.c +++ /tmp/cocci-output-7790-43eb7b-incpos1.c @@ -1,3 +1,4 @@ +#include #include "two" #include #include "four" inherited.res diff = --- tests/inherited.c +++ /tmp/cocci-output-7790-c35fa6-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-7790-1c1ee1-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-7790-80fb87-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; + foo(); } inhpos.res diff = --- tests/inhpos.c +++ /tmp/cocci-output-7790-5b092f-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-7790-241080-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-7790-4604f6-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c +++ /tmp/cocci-output-7790-43d6d6-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include int2bool-local.res diff = --- tests/int2bool-local.c +++ /tmp/cocci-output-7790-688f91-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-7790-784cbb-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-7790-7eb886-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; + x = z + y; } ip.res diff = --- tests/ip.c +++ /tmp/cocci-output-7790-ee1060-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-7790-13e50d-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-7790-572772-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-7790-b157b2-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-7790-bcc7ed-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-7790-a85f90-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-7790-6ae7d6-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-7790-82d223-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-7790-33c6bd-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); - h(); g(); - h(); } julia7.res diff = --- tests/julia7.c +++ /tmp/cocci-output-7790-a6df48-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-7790-509197-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-7790-7f0fd5-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-7790-04e718-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-7790-56c5d0-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-7790-1f2200-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-7790-08c0a7-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-7790-392317-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-7790-325042-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-7790-4349b2-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-7790-533671-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-7790-d9b1d0-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-7790-b194af-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-7790-cf6c23-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-7790-3b318e-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-7790-df53cf-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-7790-1f80a9-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-7790-d65f4e-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { int main () { - f("foo"); } longconst.res diff = --- tests/longconst.c +++ /tmp/cocci-output-7790-eeea9f-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-7790-af46e6-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-7790-004168-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-7790-c3c9e1-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-7790-0a4306-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-7790-a64515-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-7790-d324c5-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-7790-d19273-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-7790-cc64d8-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-7790-303cc9-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-7790-8ddcd2-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-7790-7ac6e2-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_7b5f87.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_7b5f87.ml File "/tmp/ocaml_cocci_7b5f87.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-7790-2be5ca-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_4e6fa2.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_4e6fa2.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_17aac8.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_17aac8.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-7790-c709a6-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-7790-b2789c-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-7790-7c6a76-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-7790-2edcf2-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-7790-d9d35b-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-7790-b9e17e-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-7790-b9524f-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-7790-ce561d-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-7790-9c4453-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-7790-a5f5ae-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-7790-f4b4ad-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-7790-3e606f-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-7790-66fe26-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-7790-63f9d8-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-7790-fb8636-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-7790-21050f-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-7790-aa3c7d-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-7790-a58794-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-7790-f0a7e5-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-7790-a4cfda-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-7790-abebb9-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-7790-4f5d5a-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-7790-9c369f-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-7790-423f47-multistruct.c @@ -1,5 +1,3 @@ -struct one x; -struct two y; struct three z; multitype.res diff = --- tests/multitype.c +++ /tmp/cocci-output-7790-262bf0-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-7790-d9da5d-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-7790-df9b63-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-7790-c2d783-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-7790-1638e3-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-7790-664f7a-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-7790-8a399e-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} - yyy(); } nestseq.res diff = --- tests/nestseq.c +++ /tmp/cocci-output-7790-3271d4-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); h(); + xxx(12); } neststruct.res diff = --- tests/neststruct.c +++ /tmp/cocci-output-7790-d480df-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-7790-228dc4-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-7790-fd7c85-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-7790-2ae694-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-7790-fadf7b-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-7790-89d7ce-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-7790-685f17-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-7790-06e0e2-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } + g(); } noty2.res diff = --- tests/noty2.c +++ /tmp/cocci-output-7790-be3388-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-7790-54d448-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-7790-04ec47-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-7790-22dd5f-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-7790-72bf56-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-7790-cf56ac-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); - f(); + g(); + g(); } opt.res diff = --- tests/opt.c +++ /tmp/cocci-output-7790-7d13f9-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); } optional_qualifier.res diff = --- tests/optional_qualifier.c +++ /tmp/cocci-output-7790-45facb-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-7790-99ffa9-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) { } orexp.res diff = --- tests/orexp.c +++ /tmp/cocci-output-7790-5f837d-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-7790-81d0c4-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-7790-bf159f-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-7790-c93ce7-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-7790-700957-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-7790-962ee6-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-7790-a2e658-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-7790-4fbdc7-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c +++ /tmp/cocci-output-7790-be1dc0-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-7790-66d8e6-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-7790-343c3f-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-7790-400457-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-7790-ce2934-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-7790-9c746d-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-7790-a29227-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-7790-b94502-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-7790-1342dc-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-7790-e8e127-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-7790-e9bd67-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-7790-1da131-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-7790-57002b-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-7790-4ad6a1-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-7790-67356c-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-7790-b07b8f-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-7790-2f5a66-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-7790-e3fd6f-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-7790-a98790-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-7790-b7a455-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-7790-d87a2f-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-7790-481086-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-7790-5ccc7a-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-7790-3adf51-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-7790-45f422-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-7790-214026-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-7790-9344f5-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) { foo(); } yyy(); } rem2.res diff = --- tests/rem2.c +++ /tmp/cocci-output-7790-4725b2-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) foo(); yyy(); } remaft.res diff = --- tests/remaft.c +++ /tmp/cocci-output-7790-e2633f-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-7790-421071-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-7790-2dd078-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-7790-88fc5e-rems.c @@ -1,5 +1,4 @@ int main () { x(); - if (x) a(); y(); } rems1.res diff = --- tests/rems1.c +++ /tmp/cocci-output-7790-d783f6-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-7790-38db68-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-7790-07f963-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-7790-e6aca6-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-7790-e6bcb0-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-7790-dc9918-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-7790-d0e373-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-7790-fba2ef-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { foo(); + return -ENODEV; } retval.res diff = --- tests/retval.c +++ /tmp/cocci-output-7790-9a5ccf-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-7790-b25ed6-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-7790-3ade97-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-7790-a6ee2d-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-7790-927f44-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-7790-a37888-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-7790-1979cb-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-7790-bb0e0b-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-7790-ef3407-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-7790-c43bb7-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-7790-764dc0-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-7790-12f3ed-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-7790-361089-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); - f(2); - g(); + h(); } sl2.res diff = --- tests/sl2.c +++ /tmp/cocci-output-7790-cd8614-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_89e2c6.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_89e2c6.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-7790-a18b25-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-7790-9a78b5-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-7790-8a2530-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-7790-a9af35-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-7790-994da2-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-7790-5b5a14-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-7790-2bfed6-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-7790-10aa9c-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-7790-c552b8-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-7790-ec20e4-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); - replace(); g(); } stm3.res diff = --- tests/stm3.c +++ /tmp/cocci-output-7790-058e49-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); g(); } stm4.res diff = --- tests/stm4.c +++ /tmp/cocci-output-7790-600568-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); g(); + g(); } stm5.res diff = --- tests/stm5.c +++ /tmp/cocci-output-7790-f6c160-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); + h(); replace(); g(); + g(); } stm6.res diff = --- tests/stm6.c +++ /tmp/cocci-output-7790-7af4d7-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-7790-139d0d-stm8.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); replace(); g(); } stmt.res diff = --- tests/stmt.c +++ /tmp/cocci-output-7790-559820-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-7790-999549-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-7790-73c64e-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-7790-bb65d4-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-7790-dcec0b-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-7790-e8d572-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-7790-3403b7-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-7790-4f357a-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-7790-5cba42-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-7790-8bfa06-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-7790-fa7e1f-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c +++ /tmp/cocci-output-7790-80e697-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-7790-3b1b18-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-7790-ca6379-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-7790-ff474e-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; - f = 3; - return f; } td.res diff = --- tests/td.c +++ /tmp/cocci-output-7790-cf2059-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-7790-e764a7-tdnl.c @@ -4,5 +4,4 @@ void main() { td2.attr; - foo(); } tern.res diff = --- tests/tern.c +++ /tmp/cocci-output-7790-0a16d5-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-7790-6d65ac-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-7790-d4f66f-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-7790-3ee2d6-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-7790-6c7c64-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-7790-590c26-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-7790-bb4036-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-7790-bb95d3-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-7790-fc14cb-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-7790-7fdf5c-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-7790-10a991-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-7790-ccae0a-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-7790-0fcf0d-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-7790-86fce6-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-7790-497421-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-7790-3e1a87-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-7790-9ec0cc-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-7790-26bf13-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-7790-2f4c74-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-7790-c8c2c8-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-7790-3d32b3-threea.c @@ -1,4 +1,3 @@ int main() { f(12); - q(12); } top.res diff = --- tests/top.c +++ /tmp/cocci-output-7790-f6b79c-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); topdec.res diff = --- tests/topdec.c +++ /tmp/cocci-output-7790-d8fe31-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-7790-e76395-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-7790-74c943-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-7790-2babed-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-7790-4a43c3-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-7790-34e2a2-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-7790-3cdd89-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); - xxx(12,1); + yyy(); } twoproto.res diff = --- tests/twoproto.c +++ /tmp/cocci-output-7790-fc5b3b-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-7790-5a56a7-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-7790-22d3ee-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-7790-d96c57-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-7790-e5c650-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-7790-9a9264-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-7790-fa827a-type.c @@ -1,5 +1,5 @@ int foo() { - int x; + int *x; return 0; } type1.res diff = --- tests/type1.c +++ /tmp/cocci-output-7790-563917-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-7790-eb94f4-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-7790-19c641-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-7790-eb2f62-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-7790-5c2831-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-7790-bf7f46-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-7790-f43225-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-7790-caea24-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-7790-8ed6b4-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-7790-75be91-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-7790-ec9690-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-7790-c98c33-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-7790-e297e0-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { + return NULL; } varargs3.res diff = --- tests/varargs3.c +++ /tmp/cocci-output-7790-72f83e-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-7790-28727d-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-7790-94797b-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-7790-e1ebfb-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-7790-b2ca1e-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-7790-305ab6-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-7790-a88ed3-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-7790-23632a-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-7790-e63a25-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; /* int y; y2.res diff = --- tests/y2.c +++ /tmp/cocci-output-7790-247f47-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-7790-1ffcf8-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 Flag_parsing_c 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 Oassoc W: coccinelle doesn't resolve dependency on unit Parsing_stat W: coccinelle doesn't resolve dependency on unit Dumper W: coccinelle doesn't resolve dependency on unit Seti W: coccinelle doesn't resolve dependency on unit Ograph_extended W: coccinelle doesn't resolve dependency on unit SetPt W: coccinelle doesn't resolve dependency on unit Cpp_token_c W: coccinelle doesn't resolve dependency on unit Regexp_pcre W: coccinelle doesn't resolve dependency on unit Lexer_parser W: coccinelle doesn't resolve dependency on unit Setb W: coccinelle doesn't resolve dependency on unit Token_annot W: coccinelle doesn't resolve dependency on unit Ocollection 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 Externalanalysis W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit Token_views_c W: coccinelle doesn't resolve dependency on unit Commands W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci 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_armhf.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_armhf.deb'. Renaming coccinelle-dbgsym_1.0.4.deb-4_armhf.deb to coccinelle-dbgsym_1.0.4.deb-4_armhf.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../coccinelle_1.0.4.deb-4_armhf.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-2317 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ coccinelle_1.0.4.deb-4_armhf.changes: ------------------------------------- Format: 1.8 Date: Sun, 06 Jan 2019 18:00:24 +0100 Source: coccinelle Binary: coccinelle coccinelle-doc Architecture: armhf 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: 4856401c5e71ac0f4bb09a244538825b0a6883ab 355960 coccinelle-dbgsym_1.0.4.deb-4_armhf.ddeb 28c5dfa88aec8838523193da439c94943c34781f 9519 coccinelle_1.0.4.deb-4_armhf.buildinfo ddd9d7e504174b0383fd82def5993b32238366f8 2177712 coccinelle_1.0.4.deb-4_armhf.deb Checksums-Sha256: 7a72d561e3b5e7dc55eba2d71d2906de987a4f67634643ef7715513b677e33a9 355960 coccinelle-dbgsym_1.0.4.deb-4_armhf.ddeb 985cbddb822d1977716c2a6be8f76b8f34e45549d725ab03f0039720135e00e5 9519 coccinelle_1.0.4.deb-4_armhf.buildinfo a869a1a283c5cb8cbd7b7686f7a0f9f5f5bd08c87345fc9352fc6cd4158b226a 2177712 coccinelle_1.0.4.deb-4_armhf.deb Files: 68489524776d7051ad08c57dc08a5502 355960 debug optional coccinelle-dbgsym_1.0.4.deb-4_armhf.ddeb 79e9bf0771c3c4cd1ba09746d04bb03d 9519 devel optional coccinelle_1.0.4.deb-4_armhf.buildinfo 785694099a13f44df0f6e7ddb1f8b734 2177712 devel optional coccinelle_1.0.4.deb-4_armhf.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ coccinelle_1.0.4.deb-4_armhf.deb -------------------------------- new debian package, version 2.0. size 2177712 bytes: control archive=2728 bytes. 40 bytes, 1 lines conffiles 895 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: armhf Maintainer: Ubuntu Developers Original-Maintainer: Debian OCaml Maintainers Installed-Size: 7555 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 7195064 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: armhf Build-Space: 61816 Build-Time: 126 Distribution: disco-proposed Host Architecture: armhf Install-Time: 305 Job: coccinelle_1.0.4.deb-4.dsc Machine Architecture: arm64 Package: coccinelle Package-Time: 433 Source-Version: 1.0.4.deb-4 Space: 61816 Status: successful Version: 1.0.4.deb-4 -------------------------------------------------------------------------------- Finished at 20190106-2317 Build needed 00:07:13, 61816k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=disco --arch=armhf PACKAGEBUILD-16242189 Scanning for processes to kill in build PACKAGEBUILD-16242189