https://launchpad.net/ubuntu/+source/coccinelle/1.0.4.deb-5ubuntu1/+build/18758345 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-s390x-017 4.4.0-174-generic #204-Ubuntu SMP Wed Jan 29 06:40:58 UTC 2020 s390x Buildd toolchain package versions: launchpad-buildd_186 python-lpbuildd_186 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.6~git201906051340.ff11471~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.7 dpkg-dev_1.18.4ubuntu1.6 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 24 Feb 20:04:37 ntpdate[1849]: adjust time server 10.211.37.1 offset -0.005530 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=focal --arch=s390x PACKAGEBUILD-18758345 --image-type chroot /home/buildd/filecache-default/1ac0229cc48d8f596a1790116aa52d00551197b1 Creating target for build PACKAGEBUILD-18758345 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=focal --arch=s390x PACKAGEBUILD-18758345 Starting target for build PACKAGEBUILD-18758345 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=focal --arch=s390x PACKAGEBUILD-18758345 'deb http://ftpmaster.internal/ubuntu focal main universe' 'deb http://ftpmaster.internal/ubuntu focal-security main universe' 'deb http://ftpmaster.internal/ubuntu focal-updates main universe' 'deb http://ftpmaster.internal/ubuntu focal-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-18758345 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=focal --arch=s390x PACKAGEBUILD-18758345 Updating target for build PACKAGEBUILD-18758345 Get:1 http://ftpmaster.internal/ubuntu focal InRelease [255 kB] Get:2 http://ftpmaster.internal/ubuntu focal-security InRelease [79.7 kB] Get:3 http://ftpmaster.internal/ubuntu focal-updates InRelease [79.7 kB] Get:4 http://ftpmaster.internal/ubuntu focal-proposed InRelease [255 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main s390x Packages [931 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main Translation-en [505 kB] Get:7 http://ftpmaster.internal/ubuntu focal/universe s390x Packages [8261 kB] Get:8 http://ftpmaster.internal/ubuntu focal/universe Translation-en [5154 kB] Get:9 http://ftpmaster.internal/ubuntu focal-proposed/main s390x Packages [115 kB] Get:10 http://ftpmaster.internal/ubuntu focal-proposed/main Translation-en [57.1 kB] Get:11 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x Packages [489 kB] Get:12 http://ftpmaster.internal/ubuntu focal-proposed/universe Translation-en [278 kB] Fetched 16.5 MB in 4s (4598 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: libffi6 libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: gcc-10-base libctf-nobfd0 libctf0 libffi7 libgcc-s1 libhogweed5 libisl22 libnettle7 libperl5.30 libprocps8 perl-modules-5.30 The following packages will be upgraded: apt base-files base-passwd bash binutils binutils-common binutils-s390x-linux-gnu bsdutils bzip2 cpp-9 debianutils e2fsprogs fdisk findutils g++-9 gcc-9 gcc-9-base gpg gpg-agent gpgconf gpgv grep gzip hostname libacl1 libapparmor1 libapt-pkg5.90 libasan5 libassuan0 libatomic1 libattr1 libaudit-common libaudit1 libbinutils libblkid1 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcc1-0 libcom-err2 libcryptsetup12 libdebconfclient0 libdevmapper1.02.1 libext2fs2 libfdisk1 libgcc-9-dev libgcc1 libgcrypt20 libgmp10 libgnutls30 libgomp1 libgpg-error0 libip4tc2 libitm1 libjson-c4 libkmod2 liblockfile-bin liblockfile1 liblz4-1 libmount1 libncurses6 libncursesw6 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libpng16-16 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libsqlite3-0 libss2 libssl1.1 libstdc++-9-dev libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libubsan1 libudev1 libuuid1 libzstd1 linux-libc-dev login logsave lsb-base mawk mount ncurses-base ncurses-bin openssl passwd perl perl-base procps sensible-utils systemd systemd-sysv sysvinit-utils ubuntu-keyring util-linux zlib1g 111 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 57.8 MB of archives. After this operation, 46.7 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu focal/main s390x libc6-dev s390x 2.30-0ubuntu3 [2060 kB] Get:2 http://ftpmaster.internal/ubuntu focal/main s390x libc-dev-bin s390x 2.30-0ubuntu3 [63.9 kB] Get:3 http://ftpmaster.internal/ubuntu focal-proposed/main s390x linux-libc-dev s390x 5.4.0-15.18 [1145 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main s390x gcc-10-base s390x 10-20200222-1ubuntu1 [18.7 kB] Get:5 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libgmp10 s390x 2:6.2.0+dfsg-4 [247 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main s390x libisl22 s390x 0.22.1-1 [545 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main s390x libcc1-0 s390x 10-20200222-1ubuntu1 [39.3 kB] Get:8 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libctf-nobfd0 s390x 2.34-3ubuntu1 [44.0 kB] Get:9 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libctf0 s390x 2.34-3ubuntu1 [43.5 kB] Get:10 http://ftpmaster.internal/ubuntu focal-proposed/main s390x binutils-s390x-linux-gnu s390x 2.34-3ubuntu1 [1444 kB] Get:11 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libbinutils s390x 2.34-3ubuntu1 [305 kB] Get:12 http://ftpmaster.internal/ubuntu focal-proposed/main s390x binutils-common s390x 2.34-3ubuntu1 [207 kB] Get:13 http://ftpmaster.internal/ubuntu focal-proposed/main s390x binutils s390x 2.34-3ubuntu1 [3348 B] Get:14 http://ftpmaster.internal/ubuntu focal/main s390x libstdc++-9-dev s390x 9.2.1-29ubuntu1 [1674 kB] Get:15 http://ftpmaster.internal/ubuntu focal/main s390x g++-9 s390x 9.2.1-29ubuntu1 [6605 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main s390x gcc-9 s390x 9.2.1-29ubuntu1 [6460 kB] Get:17 http://ftpmaster.internal/ubuntu focal/main s390x cpp-9 s390x 9.2.1-29ubuntu1 [5728 kB] Get:18 http://ftpmaster.internal/ubuntu focal/main s390x libubsan1 s390x 10-20200222-1ubuntu1 [155 kB] Get:19 http://ftpmaster.internal/ubuntu focal/main s390x libitm1 s390x 10-20200222-1ubuntu1 [29.3 kB] Get:20 http://ftpmaster.internal/ubuntu focal/main s390x libgomp1 s390x 10-20200222-1ubuntu1 [113 kB] Get:21 http://ftpmaster.internal/ubuntu focal/main s390x gcc-9-base s390x 9.2.1-29ubuntu1 [19.2 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main s390x libatomic1 s390x 10-20200222-1ubuntu1 [8356 B] Get:23 http://ftpmaster.internal/ubuntu focal/main s390x libasan5 s390x 9.2.1-29ubuntu1 [361 kB] Get:24 http://ftpmaster.internal/ubuntu focal/main s390x libgcc-9-dev s390x 9.2.1-29ubuntu1 [706 kB] Get:25 http://ftpmaster.internal/ubuntu focal/main s390x libgcc-s1 s390x 10-20200222-1ubuntu1 [30.2 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main s390x libgcc1 s390x 1:10-20200222-1ubuntu1 [30.1 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main s390x libstdc++6 s390x 10-20200222-1ubuntu1 [521 kB] Get:28 http://ftpmaster.internal/ubuntu focal-proposed/main s390x zlib1g s390x 1:1.2.11.dfsg-1.2ubuntu1 [61.2 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main s390x libc6 s390x 2.30-0ubuntu3 [2289 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main s390x base-files s390x 11ubuntu2 [60.0 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main s390x debianutils s390x 4.9.1 [85.7 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main s390x bash s390x 5.0-5ubuntu1 [622 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main s390x bsdutils s390x 1:2.34-0.1ubuntu7 [61.4 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main s390x findutils s390x 4.7.0-1ubuntu1 [323 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main s390x grep s390x 3.4-1 [156 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main s390x gzip s390x 1.10-0ubuntu4 [95.8 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main s390x hostname s390x 3.23 [11.1 kB] Get:38 http://ftpmaster.internal/ubuntu focal/main s390x login s390x 1:4.8.1-1ubuntu1 [218 kB] Get:39 http://ftpmaster.internal/ubuntu focal/main s390x ncurses-bin s390x 6.1+20191019-1ubuntu1 [169 kB] Get:40 http://ftpmaster.internal/ubuntu focal/main s390x perl-modules-5.30 all 5.30.0-9 [2739 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main s390x libperl5.30 s390x 5.30.0-9 [3782 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main s390x perl s390x 5.30.0-9 [224 kB] Get:43 http://ftpmaster.internal/ubuntu focal/main s390x perl-base s390x 5.30.0-9 [1423 kB] Get:44 http://ftpmaster.internal/ubuntu focal/main s390x bzip2 s390x 1.0.8-2 [33.3 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main s390x libbz2-1.0 s390x 1.0.8-2 [32.6 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main s390x libblkid1 s390x 2.34-0.1ubuntu7 [128 kB] Get:47 http://ftpmaster.internal/ubuntu focal/main s390x libuuid1 s390x 2.34-0.1ubuntu7 [20.3 kB] Get:48 http://ftpmaster.internal/ubuntu focal/main s390x libfdisk1 s390x 2.34-0.1ubuntu7 [160 kB] Get:49 http://ftpmaster.internal/ubuntu focal/main s390x libpcre2-8-0 s390x 10.34-7 [109 kB] Get:50 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libselinux1 s390x 3.0-1build1 [65.6 kB] Get:51 http://ftpmaster.internal/ubuntu focal/main s390x libmount1 s390x 2.34-0.1ubuntu7 [137 kB] Get:52 http://ftpmaster.internal/ubuntu focal/main s390x libncurses6 s390x 6.1+20191019-1ubuntu1 [94.7 kB] Get:53 http://ftpmaster.internal/ubuntu focal/main s390x libtinfo6 s390x 6.1+20191019-1ubuntu1 [83.6 kB] Get:54 http://ftpmaster.internal/ubuntu focal/main s390x libncursesw6 s390x 6.1+20191019-1ubuntu1 [122 kB] Get:55 http://ftpmaster.internal/ubuntu focal/main s390x libsmartcols1 s390x 2.34-0.1ubuntu7 [93.5 kB] Get:56 http://ftpmaster.internal/ubuntu focal/main s390x fdisk s390x 2.34-0.1ubuntu7 [114 kB] Get:57 http://ftpmaster.internal/ubuntu focal/main s390x util-linux s390x 2.34-0.1ubuntu7 [980 kB] Get:58 http://ftpmaster.internal/ubuntu focal/main s390x libdebconfclient0 s390x 0.251ubuntu1 [5972 B] Get:59 http://ftpmaster.internal/ubuntu focal/main s390x base-passwd s390x 3.5.47 [46.7 kB] Get:60 http://ftpmaster.internal/ubuntu focal/main s390x libc-bin s390x 2.30-0ubuntu3 [547 kB] Get:61 http://ftpmaster.internal/ubuntu focal/main s390x ncurses-base all 6.1+20191019-1ubuntu1 [17.9 kB] Get:62 http://ftpmaster.internal/ubuntu focal/main s390x lsb-base all 11.1.0ubuntu2 [12.1 kB] Get:63 http://ftpmaster.internal/ubuntu focal/main s390x sysvinit-utils s390x 2.96-2.1ubuntu1 [20.6 kB] Get:64 http://ftpmaster.internal/ubuntu focal/main s390x libgpg-error0 s390x 1.37-1 [55.0 kB] Get:65 http://ftpmaster.internal/ubuntu focal/main s390x libgcrypt20 s390x 1.8.5-5ubuntu1 [351 kB] Get:66 http://ftpmaster.internal/ubuntu focal/main s390x liblz4-1 s390x 1.9.2-2 [53.8 kB] Get:67 http://ftpmaster.internal/ubuntu focal/main s390x systemd-sysv s390x 244.2-1ubuntu1 [9368 B] Get:68 http://ftpmaster.internal/ubuntu focal/main s390x libacl1 s390x 2.2.53-5ubuntu1 [18.3 kB] Get:69 http://ftpmaster.internal/ubuntu focal/main s390x libapparmor1 s390x 2.13.3-7ubuntu2 [32.8 kB] Get:70 http://ftpmaster.internal/ubuntu focal/main s390x libaudit-common all 1:2.8.5-2ubuntu6 [3936 B] Get:71 http://ftpmaster.internal/ubuntu focal/main s390x libcap-ng0 s390x 0.7.9-2.1build1 [10.8 kB] Get:72 http://ftpmaster.internal/ubuntu focal/main s390x libaudit1 s390x 1:2.8.5-2ubuntu6 [37.2 kB] Get:73 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libcap2 s390x 1:2.32-1 [15.9 kB] Get:74 http://ftpmaster.internal/ubuntu focal/main s390x libudev1 s390x 244.2-1ubuntu1 [72.5 kB] Get:75 http://ftpmaster.internal/ubuntu focal/main s390x libdevmapper1.02.1 s390x 2:1.02.167-1ubuntu1 [122 kB] Get:76 http://ftpmaster.internal/ubuntu focal/main s390x libjson-c4 s390x 0.13.1+dfsg-7 [28.0 kB] Get:77 http://ftpmaster.internal/ubuntu focal/main s390x libssl1.1 s390x 1.1.1d-2ubuntu3 [982 kB] Get:78 http://ftpmaster.internal/ubuntu focal/main s390x libcryptsetup12 s390x 2:2.2.2-3ubuntu1 [160 kB] Get:79 http://ftpmaster.internal/ubuntu focal/main s390x libnettle7 s390x 3.5.1+really3.5.1-2 [124 kB] Get:80 http://ftpmaster.internal/ubuntu focal/main s390x libhogweed5 s390x 3.5.1+really3.5.1-2 [136 kB] Get:81 http://ftpmaster.internal/ubuntu focal/main s390x libffi7 s390x 3.3-3 [16.5 kB] Get:82 http://ftpmaster.internal/ubuntu focal/main s390x libp11-kit0 s390x 0.23.20-1build1 [174 kB] Get:83 http://ftpmaster.internal/ubuntu focal/main s390x libtasn1-6 s390x 4.16.0-2 [37.1 kB] Get:84 http://ftpmaster.internal/ubuntu focal/main s390x libgnutls30 s390x 3.6.11.1-2ubuntu2 [683 kB] Get:85 http://ftpmaster.internal/ubuntu focal/main s390x libip4tc2 s390x 1.8.4-3ubuntu1 [18.3 kB] Get:86 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libkmod2 s390x 27-1ubuntu1 [41.5 kB] Get:87 http://ftpmaster.internal/ubuntu focal/main s390x libpam0g s390x 1.3.1-5ubuntu4 [52.9 kB] Get:88 http://ftpmaster.internal/ubuntu focal/main s390x libseccomp2 s390x 2.4.2-2ubuntu3 [38.4 kB] Get:89 http://ftpmaster.internal/ubuntu focal/main s390x mount s390x 2.34-0.1ubuntu7 [110 kB] Get:90 http://ftpmaster.internal/ubuntu focal/main s390x systemd s390x 244.2-1ubuntu1 [3330 kB] Get:91 http://ftpmaster.internal/ubuntu focal/main s390x libsystemd0 s390x 244.2-1ubuntu1 [240 kB] Get:92 http://ftpmaster.internal/ubuntu focal/main s390x libzstd1 s390x 1.4.4+dfsg-3 [217 kB] Get:93 http://ftpmaster.internal/ubuntu focal/main s390x libapt-pkg5.90 s390x 1.9.10 [791 kB] Get:94 http://ftpmaster.internal/ubuntu focal/main s390x gpgv s390x 2.2.17-3ubuntu1 [186 kB] Get:95 http://ftpmaster.internal/ubuntu focal/main s390x ubuntu-keyring all 2020.02.11.1 [22.3 kB] Get:96 http://ftpmaster.internal/ubuntu focal/main s390x apt s390x 1.9.10 [1241 kB] Get:97 http://ftpmaster.internal/ubuntu focal/main s390x libpam-modules-bin s390x 1.3.1-5ubuntu4 [36.5 kB] Get:98 http://ftpmaster.internal/ubuntu focal/main s390x libpam-modules s390x 1.3.1-5ubuntu4 [242 kB] Get:99 http://ftpmaster.internal/ubuntu focal/main s390x logsave s390x 1.45.5-2ubuntu1 [10.0 kB] Get:100 http://ftpmaster.internal/ubuntu focal/main s390x libext2fs2 s390x 1.45.5-2ubuntu1 [177 kB] Get:101 http://ftpmaster.internal/ubuntu focal/main s390x e2fsprogs s390x 1.45.5-2ubuntu1 [507 kB] Get:102 http://ftpmaster.internal/ubuntu focal/main s390x libattr1 s390x 1:2.4.48-5 [12.4 kB] Get:103 http://ftpmaster.internal/ubuntu focal/main s390x libpam-runtime all 1.3.1-5ubuntu4 [37.3 kB] Get:104 http://ftpmaster.internal/ubuntu focal/main s390x libsepol1 s390x 3.0-1 [227 kB] Get:105 http://ftpmaster.internal/ubuntu focal/main s390x libsemanage-common all 3.0-1build1 [9876 B] Get:106 http://ftpmaster.internal/ubuntu focal/main s390x libsemanage1 s390x 3.0-1build1 [79.8 kB] Get:107 http://ftpmaster.internal/ubuntu focal/main s390x passwd s390x 1:4.8.1-1ubuntu1 [779 kB] Get:108 http://ftpmaster.internal/ubuntu focal/main s390x libcom-err2 s390x 1.45.5-2ubuntu1 [9384 B] Get:109 http://ftpmaster.internal/ubuntu focal/main s390x libss2 s390x 1.45.5-2ubuntu1 [11.1 kB] Get:110 http://ftpmaster.internal/ubuntu focal-proposed/main s390x mawk s390x 1.3.4.20200120-2 [91.8 kB] Get:111 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libprocps8 s390x 2:3.3.16-1ubuntu1 [31.3 kB] Get:112 http://ftpmaster.internal/ubuntu focal-proposed/main s390x procps s390x 2:3.3.16-1ubuntu1 [225 kB] Get:113 http://ftpmaster.internal/ubuntu focal/main s390x sensible-utils all 0.0.12+nmu1 [15.0 kB] Get:114 http://ftpmaster.internal/ubuntu focal/main s390x libsqlite3-0 s390x 3.31.1-1ubuntu1 [512 kB] Get:115 http://ftpmaster.internal/ubuntu focal/main s390x openssl s390x 1.1.1d-2ubuntu3 [606 kB] Get:116 http://ftpmaster.internal/ubuntu focal/main s390x libpng16-16 s390x 1.6.37-2 [174 kB] Get:117 http://ftpmaster.internal/ubuntu focal/main s390x libassuan0 s390x 2.5.3-7ubuntu2 [32.7 kB] Get:118 http://ftpmaster.internal/ubuntu focal/main s390x gpg s390x 2.2.17-3ubuntu1 [442 kB] Get:119 http://ftpmaster.internal/ubuntu focal/main s390x gpgconf s390x 2.2.17-3ubuntu1 [119 kB] Get:120 http://ftpmaster.internal/ubuntu focal/main s390x gpg-agent s390x 2.2.17-3ubuntu1 [217 kB] Get:121 http://ftpmaster.internal/ubuntu focal/main s390x liblockfile-bin s390x 1.16-1.1 [11.4 kB] Get:122 http://ftpmaster.internal/ubuntu focal/main s390x liblockfile1 s390x 1.16-1.1 [6476 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 57.8 MB in 2s (33.9 MB/s) (Reading database ... 12530 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.30-0ubuntu3_s390x.deb ... Unpacking libc6-dev:s390x (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Preparing to unpack .../libc-dev-bin_2.30-0ubuntu3_s390x.deb ... Unpacking libc-dev-bin (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Preparing to unpack .../linux-libc-dev_5.4.0-15.18_s390x.deb ... Unpacking linux-libc-dev:s390x (5.4.0-15.18) over (5.3.0-18.19) ... Selecting previously unselected package gcc-10-base:s390x. Preparing to unpack .../gcc-10-base_10-20200222-1ubuntu1_s390x.deb ... Unpacking gcc-10-base:s390x (10-20200222-1ubuntu1) ... Setting up gcc-10-base:s390x (10-20200222-1ubuntu1) ... (Reading database ... 12540 files and directories currently installed.) Preparing to unpack .../libgmp10_2%3a6.2.0+dfsg-4_s390x.deb ... Unpacking libgmp10:s390x (2:6.2.0+dfsg-4) over (2:6.1.2+dfsg-4) ... Setting up libgmp10:s390x (2:6.2.0+dfsg-4) ... Selecting previously unselected package libisl22:s390x. (Reading database ... 12540 files and directories currently installed.) Preparing to unpack .../00-libisl22_0.22.1-1_s390x.deb ... Unpacking libisl22:s390x (0.22.1-1) ... Preparing to unpack .../01-libcc1-0_10-20200222-1ubuntu1_s390x.deb ... Unpacking libcc1-0:s390x (10-20200222-1ubuntu1) over (9.2.1-9ubuntu2) ... Selecting previously unselected package libctf-nobfd0:s390x. Preparing to unpack .../02-libctf-nobfd0_2.34-3ubuntu1_s390x.deb ... Unpacking libctf-nobfd0:s390x (2.34-3ubuntu1) ... Selecting previously unselected package libctf0:s390x. Preparing to unpack .../03-libctf0_2.34-3ubuntu1_s390x.deb ... Unpacking libctf0:s390x (2.34-3ubuntu1) ... Preparing to unpack .../04-binutils-s390x-linux-gnu_2.34-3ubuntu1_s390x.deb ... Unpacking binutils-s390x-linux-gnu (2.34-3ubuntu1) over (2.33-2ubuntu1) ... Preparing to unpack .../05-libbinutils_2.34-3ubuntu1_s390x.deb ... Unpacking libbinutils:s390x (2.34-3ubuntu1) over (2.33-2ubuntu1) ... Preparing to unpack .../06-binutils-common_2.34-3ubuntu1_s390x.deb ... Unpacking binutils-common:s390x (2.34-3ubuntu1) over (2.33-2ubuntu1) ... Preparing to unpack .../07-binutils_2.34-3ubuntu1_s390x.deb ... Unpacking binutils (2.34-3ubuntu1) over (2.33-2ubuntu1) ... Preparing to unpack .../08-libstdc++-9-dev_9.2.1-29ubuntu1_s390x.deb ... Unpacking libstdc++-9-dev:s390x (9.2.1-29ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../09-g++-9_9.2.1-29ubuntu1_s390x.deb ... Unpacking g++-9 (9.2.1-29ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../10-gcc-9_9.2.1-29ubuntu1_s390x.deb ... Unpacking gcc-9 (9.2.1-29ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../11-cpp-9_9.2.1-29ubuntu1_s390x.deb ... Unpacking cpp-9 (9.2.1-29ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../12-libubsan1_10-20200222-1ubuntu1_s390x.deb ... Unpacking libubsan1:s390x (10-20200222-1ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../13-libitm1_10-20200222-1ubuntu1_s390x.deb ... Unpacking libitm1:s390x (10-20200222-1ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../14-libgomp1_10-20200222-1ubuntu1_s390x.deb ... Unpacking libgomp1:s390x (10-20200222-1ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../15-gcc-9-base_9.2.1-29ubuntu1_s390x.deb ... Unpacking gcc-9-base:s390x (9.2.1-29ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../16-libatomic1_10-20200222-1ubuntu1_s390x.deb ... Unpacking libatomic1:s390x (10-20200222-1ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../17-libasan5_9.2.1-29ubuntu1_s390x.deb ... Unpacking libasan5:s390x (9.2.1-29ubuntu1) over (9.2.1-9ubuntu2) ... Preparing to unpack .../18-libgcc-9-dev_9.2.1-29ubuntu1_s390x.deb ... Unpacking libgcc-9-dev:s390x (9.2.1-29ubuntu1) over (9.2.1-9ubuntu2) ... Selecting previously unselected package libgcc-s1:s390x. Preparing to unpack .../19-libgcc-s1_10-20200222-1ubuntu1_s390x.deb ... Unpacking libgcc-s1:s390x (10-20200222-1ubuntu1) ... Replacing files in old package libgcc1:s390x (1:9.2.1-9ubuntu2) ... Setting up libgcc-s1:s390x (10-20200222-1ubuntu1) ... (Reading database ... 12556 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a10-20200222-1ubuntu1_s390x.deb ... Unpacking libgcc1 (1:10-20200222-1ubuntu1) over (1:9.2.1-9ubuntu2) ... Setting up libgcc1 (1:10-20200222-1ubuntu1) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../libstdc++6_10-20200222-1ubuntu1_s390x.deb ... Unpacking libstdc++6:s390x (10-20200222-1ubuntu1) over (9.2.1-9ubuntu2) ... Setting up libstdc++6:s390x (10-20200222-1ubuntu1) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1.2ubuntu1_s390x.deb ... Unpacking zlib1g:s390x (1:1.2.11.dfsg-1.2ubuntu1) over (1:1.2.11.dfsg-1ubuntu3) ... Setting up zlib1g:s390x (1:1.2.11.dfsg-1.2ubuntu1) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../libc6_2.30-0ubuntu3_s390x.deb ... Unpacking libc6:s390x (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Setting up libc6:s390x (2.30-0ubuntu3) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../base-files_11ubuntu2_s390x.deb ... Unpacking base-files (11ubuntu2) over (10.2ubuntu7) ... Setting up base-files (11ubuntu2) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/50-motd-news ... Updating /root/.profile to current default. (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../debianutils_4.9.1_s390x.deb ... Unpacking debianutils (4.9.1) over (4.8.6.3) ... Setting up debianutils (4.9.1) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../bash_5.0-5ubuntu1_s390x.deb ... Unpacking bash (5.0-5ubuntu1) over (5.0-4ubuntu1) ... Setting up bash (5.0-5ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.34-0.1ubuntu7_s390x.deb ... Unpacking bsdutils (1:2.34-0.1ubuntu7) over (1:2.34-0.1ubuntu2) ... Setting up bsdutils (1:2.34-0.1ubuntu7) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../findutils_4.7.0-1ubuntu1_s390x.deb ... Unpacking findutils (4.7.0-1ubuntu1) over (4.6.0+git+20190209-2ubuntu1) ... Setting up findutils (4.7.0-1ubuntu1) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../archives/grep_3.4-1_s390x.deb ... Unpacking grep (3.4-1) over (3.3-1build1) ... Setting up grep (3.4-1) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../gzip_1.10-0ubuntu4_s390x.deb ... Unpacking gzip (1.10-0ubuntu4) over (1.10-0ubuntu3) ... Setting up gzip (1.10-0ubuntu4) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../hostname_3.23_s390x.deb ... Unpacking hostname (3.23) over (3.22) ... Setting up hostname (3.23) ... (Reading database ... 12557 files and directories currently installed.) Preparing to unpack .../login_1%3a4.8.1-1ubuntu1_s390x.deb ... Unpacking login (1:4.8.1-1ubuntu1) over (1:4.5-1.1ubuntu4) ... Setting up login (1:4.8.1-1ubuntu1) ... Installing new version of config file /etc/pam.d/login ... Removing obsolete conffile /etc/securetty ... (Reading database ... 12553 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1+20191019-1ubuntu1_s390x.deb ... Unpacking ncurses-bin (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-bin (6.1+20191019-1ubuntu1) ... (Reading database ... 12553 files and directories currently installed.) Preparing to unpack .../perl_5.30.0-9_s390x.deb ... Unpacking perl (5.30.0-9) over (5.28.1-6build1) ... Replacing files in old package perl-base (5.28.1-6build1) ... Selecting previously unselected package perl-modules-5.30. Preparing to unpack .../perl-modules-5.30_5.30.0-9_all.deb ... Unpacking perl-modules-5.30 (5.30.0-9) ... Selecting previously unselected package libperl5.30:s390x. Preparing to unpack .../libperl5.30_5.30.0-9_s390x.deb ... Unpacking libperl5.30:s390x (5.30.0-9) ... Preparing to unpack .../perl-base_5.30.0-9_s390x.deb ... Unpacking perl-base (5.30.0-9) over (5.28.1-6build1) ... Setting up perl-base (5.30.0-9) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../bzip2_1.0.8-2_s390x.deb ... Unpacking bzip2 (1.0.8-2) over (1.0.6-9.2) ... Preparing to unpack .../libbz2-1.0_1.0.8-2_s390x.deb ... Unpacking libbz2-1.0:s390x (1.0.8-2) over (1.0.6-9.2) ... Setting up libbz2-1.0:s390x (1.0.8-2) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libblkid1_2.34-0.1ubuntu7_s390x.deb ... Unpacking libblkid1:s390x (2.34-0.1ubuntu7) over (2.34-0.1ubuntu2) ... Setting up libblkid1:s390x (2.34-0.1ubuntu7) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libuuid1_2.34-0.1ubuntu7_s390x.deb ... Unpacking libuuid1:s390x (2.34-0.1ubuntu7) over (2.34-0.1ubuntu2) ... Setting up libuuid1:s390x (2.34-0.1ubuntu7) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.34-0.1ubuntu7_s390x.deb ... Unpacking libfdisk1:s390x (2.34-0.1ubuntu7) over (2.34-0.1ubuntu2) ... Setting up libfdisk1:s390x (2.34-0.1ubuntu7) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.34-7_s390x.deb ... Unpacking libpcre2-8-0:s390x (10.34-7) over (10.32-5) ... Setting up libpcre2-8-0:s390x (10.34-7) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libselinux1_3.0-1build1_s390x.deb ... Unpacking libselinux1:s390x (3.0-1build1) over (2.9-2) ... Setting up libselinux1:s390x (3.0-1build1) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libmount1_2.34-0.1ubuntu7_s390x.deb ... Unpacking libmount1:s390x (2.34-0.1ubuntu7) over (2.34-0.1ubuntu2) ... Setting up libmount1:s390x (2.34-0.1ubuntu7) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libncurses6_6.1+20191019-1ubuntu1_s390x.deb ... Unpacking libncurses6:s390x (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Preparing to unpack .../libtinfo6_6.1+20191019-1ubuntu1_s390x.deb ... Unpacking libtinfo6:s390x (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libtinfo6:s390x (6.1+20191019-1ubuntu1) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.1+20191019-1ubuntu1_s390x.deb ... Unpacking libncursesw6:s390x (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up libncursesw6:s390x (6.1+20191019-1ubuntu1) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.34-0.1ubuntu7_s390x.deb ... Unpacking libsmartcols1:s390x (2.34-0.1ubuntu7) over (2.34-0.1ubuntu2) ... Setting up libsmartcols1:s390x (2.34-0.1ubuntu7) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../fdisk_2.34-0.1ubuntu7_s390x.deb ... Unpacking fdisk (2.34-0.1ubuntu7) over (2.34-0.1ubuntu2) ... Setting up fdisk (2.34-0.1ubuntu7) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../util-linux_2.34-0.1ubuntu7_s390x.deb ... Unpacking util-linux (2.34-0.1ubuntu7) over (2.34-0.1ubuntu2) ... Setting up util-linux (2.34-0.1ubuntu7) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.251ubuntu1_s390x.deb ... Unpacking libdebconfclient0:s390x (0.251ubuntu1) over (0.249ubuntu1) ... Setting up libdebconfclient0:s390x (0.251ubuntu1) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../base-passwd_3.5.47_s390x.deb ... Unpacking base-passwd (3.5.47) over (3.5.46) ... Setting up base-passwd (3.5.47) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../libc-bin_2.30-0ubuntu3_s390x.deb ... Unpacking libc-bin (2.30-0ubuntu3) over (2.30-0ubuntu2) ... Setting up libc-bin (2.30-0ubuntu3) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1+20191019-1ubuntu1_all.deb ... Unpacking ncurses-base (6.1+20191019-1ubuntu1) over (6.1+20190803-1ubuntu1) ... Setting up ncurses-base (6.1+20191019-1ubuntu1) ... (Reading database ... 14455 files and directories currently installed.) Preparing to unpack .../lsb-base_11.1.0ubuntu2_all.deb ... Unpacking lsb-base (11.1.0ubuntu2) over (11.0.1ubuntu1) ... Setting up lsb-base (11.1.0ubuntu2) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.96-2.1ubuntu1_s390x.deb ... Unpacking sysvinit-utils (2.96-2.1ubuntu1) over (2.95-5ubuntu2) ... Setting up sysvinit-utils (2.96-2.1ubuntu1) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.37-1_s390x.deb ... Unpacking libgpg-error0:s390x (1.37-1) over (1.36-7) ... Setting up libgpg-error0:s390x (1.37-1) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.5-5ubuntu1_s390x.deb ... Unpacking libgcrypt20:s390x (1.8.5-5ubuntu1) over (1.8.4-5ubuntu2) ... Setting up libgcrypt20:s390x (1.8.5-5ubuntu1) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../liblz4-1_1.9.2-2_s390x.deb ... Unpacking liblz4-1:s390x (1.9.2-2) over (1.9.1-1) ... Setting up liblz4-1:s390x (1.9.2-2) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../systemd-sysv_244.2-1ubuntu1_s390x.deb ... Unpacking systemd-sysv (244.2-1ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libacl1_2.2.53-5ubuntu1_s390x.deb ... Unpacking libacl1:s390x (2.2.53-5ubuntu1) over (2.2.53-4) ... Setting up libacl1:s390x (2.2.53-5ubuntu1) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../libapparmor1_2.13.3-7ubuntu2_s390x.deb ... Unpacking libapparmor1:s390x (2.13.3-7ubuntu2) over (2.13.3-5ubuntu1) ... Preparing to unpack .../libaudit-common_1%3a2.8.5-2ubuntu6_all.deb ... Unpacking libaudit-common (1:2.8.5-2ubuntu6) over (1:2.8.5-2ubuntu1) ... Setting up libaudit-common (1:2.8.5-2ubuntu6) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.7.9-2.1build1_s390x.deb ... Unpacking libcap-ng0:s390x (0.7.9-2.1build1) over (0.7.9-2) ... Setting up libcap-ng0:s390x (0.7.9-2.1build1) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.8.5-2ubuntu6_s390x.deb ... Unpacking libaudit1:s390x (1:2.8.5-2ubuntu6) over (1:2.8.5-2ubuntu1) ... Setting up libaudit1:s390x (1:2.8.5-2ubuntu6) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.32-1_s390x.deb ... Unpacking libcap2:s390x (1:2.32-1) over (1:2.25-2) ... Preparing to unpack .../libudev1_244.2-1ubuntu1_s390x.deb ... Unpacking libudev1:s390x (244.2-1ubuntu1) over (242-7ubuntu3) ... Setting up libudev1:s390x (244.2-1ubuntu1) ... (Reading database ... 14454 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.167-1ubuntu1_s390x.deb ... Unpacking libdevmapper1.02.1:s390x (2:1.02.167-1ubuntu1) over (2:1.02.155-2ubuntu6) ... Preparing to unpack .../libjson-c4_0.13.1+dfsg-7_s390x.deb ... Unpacking libjson-c4:s390x (0.13.1+dfsg-7) over (0.13.1+dfsg-4) ... Preparing to unpack .../libssl1.1_1.1.1d-2ubuntu3_s390x.deb ... Unpacking libssl1.1:s390x (1.1.1d-2ubuntu3) over (1.1.1c-1ubuntu4) ... Preparing to unpack .../libcryptsetup12_2%3a2.2.2-3ubuntu1_s390x.deb ... Unpacking libcryptsetup12:s390x (2:2.2.2-3ubuntu1) over (2:2.2.0-3ubuntu1) ... Selecting previously unselected package libnettle7:s390x. Preparing to unpack .../libnettle7_3.5.1+really3.5.1-2_s390x.deb ... Unpacking libnettle7:s390x (3.5.1+really3.5.1-2) ... Setting up libnettle7:s390x (3.5.1+really3.5.1-2) ... Selecting previously unselected package libhogweed5:s390x. (Reading database ... 14462 files and directories currently installed.) Preparing to unpack .../libhogweed5_3.5.1+really3.5.1-2_s390x.deb ... Unpacking libhogweed5:s390x (3.5.1+really3.5.1-2) ... Setting up libhogweed5:s390x (3.5.1+really3.5.1-2) ... Selecting previously unselected package libffi7:s390x. (Reading database ... 14465 files and directories currently installed.) Preparing to unpack .../libffi7_3.3-3_s390x.deb ... Unpacking libffi7:s390x (3.3-3) ... Setting up libffi7:s390x (3.3-3) ... (Reading database ... 14470 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.20-1build1_s390x.deb ... Unpacking libp11-kit0:s390x (0.23.20-1build1) over (0.23.17-2) ... Setting up libp11-kit0:s390x (0.23.20-1build1) ... (Reading database ... 14470 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.16.0-2_s390x.deb ... Unpacking libtasn1-6:s390x (4.16.0-2) over (4.14-3) ... Setting up libtasn1-6:s390x (4.16.0-2) ... (Reading database ... 14470 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.11.1-2ubuntu2_s390x.deb ... Unpacking libgnutls30:s390x (3.6.11.1-2ubuntu2) over (3.6.9-5ubuntu1) ... Setting up libgnutls30:s390x (3.6.11.1-2ubuntu2) ... (Reading database ... 14469 files and directories currently installed.) Preparing to unpack .../libip4tc2_1.8.4-3ubuntu1_s390x.deb ... Unpacking libip4tc2:s390x (1.8.4-3ubuntu1) over (1.8.3-2ubuntu5) ... Preparing to unpack .../libkmod2_27-1ubuntu1_s390x.deb ... Unpacking libkmod2:s390x (27-1ubuntu1) over (26-1ubuntu1) ... Preparing to unpack .../libpam0g_1.3.1-5ubuntu4_s390x.deb ... Unpacking libpam0g:s390x (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam0g:s390x (1.3.1-5ubuntu4) ... (Reading database ... 14469 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.4.2-2ubuntu3_s390x.deb ... Unpacking libseccomp2:s390x (2.4.2-2ubuntu3) over (2.4.1-0ubuntu0.19.10.3) ... Setting up libseccomp2:s390x (2.4.2-2ubuntu3) ... (Reading database ... 14469 files and directories currently installed.) Preparing to unpack .../mount_2.34-0.1ubuntu7_s390x.deb ... Unpacking mount (2.34-0.1ubuntu7) over (2.34-0.1ubuntu2) ... Preparing to unpack .../systemd_244.2-1ubuntu1_s390x.deb ... Unpacking systemd (244.2-1ubuntu1) over (242-7ubuntu3) ... Preparing to unpack .../libsystemd0_244.2-1ubuntu1_s390x.deb ... Unpacking libsystemd0:s390x (244.2-1ubuntu1) over (242-7ubuntu3) ... Setting up libsystemd0:s390x (244.2-1ubuntu1) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../libzstd1_1.4.4+dfsg-3_s390x.deb ... Unpacking libzstd1:s390x (1.4.4+dfsg-3) over (1.4.3+dfsg-1) ... Setting up libzstd1:s390x (1.4.4+dfsg-3) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.90_1.9.10_s390x.deb ... Unpacking libapt-pkg5.90:s390x (1.9.10) over (1.9.4) ... Setting up libapt-pkg5.90:s390x (1.9.10) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.17-3ubuntu1_s390x.deb ... Unpacking gpgv (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Setting up gpgv (2.2.17-3ubuntu1) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../ubuntu-keyring_2020.02.11.1_all.deb ... Unpacking ubuntu-keyring (2020.02.11.1) over (2018.09.18.1) ... Setting up ubuntu-keyring (2020.02.11.1) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../archives/apt_1.9.10_s390x.deb ... Unpacking apt (1.9.10) over (1.9.4) ... Setting up apt (1.9.10) ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.3.1-5ubuntu4_s390x.deb ... Unpacking libpam-modules-bin (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-modules-bin (1.3.1-5ubuntu4) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.3.1-5ubuntu4_s390x.deb ... Unpacking libpam-modules:s390x (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-modules:s390x (1.3.1-5ubuntu4) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../logsave_1.45.5-2ubuntu1_s390x.deb ... Unpacking logsave (1.45.5-2ubuntu1) over (1.45.3-4ubuntu2) ... Preparing to unpack .../libext2fs2_1.45.5-2ubuntu1_s390x.deb ... Unpacking libext2fs2:s390x (1.45.5-2ubuntu1) over (1.45.3-4ubuntu2) ... Setting up libext2fs2:s390x (1.45.5-2ubuntu1) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.45.5-2ubuntu1_s390x.deb ... Unpacking e2fsprogs (1.45.5-2ubuntu1) over (1.45.3-4ubuntu2) ... Preparing to unpack .../libattr1_1%3a2.4.48-5_s390x.deb ... Unpacking libattr1:s390x (1:2.4.48-5) over (1:2.4.48-4) ... Setting up libattr1:s390x (1:2.4.48-5) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.3.1-5ubuntu4_all.deb ... Unpacking libpam-runtime (1.3.1-5ubuntu4) over (1.3.1-5ubuntu1) ... Setting up libpam-runtime (1.3.1-5ubuntu4) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../libsepol1_3.0-1_s390x.deb ... Unpacking libsepol1:s390x (3.0-1) over (2.9-2) ... Setting up libsepol1:s390x (3.0-1) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.0-1build1_all.deb ... Unpacking libsemanage-common (3.0-1build1) over (2.9-3) ... Setting up libsemanage-common (3.0-1build1) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../libsemanage1_3.0-1build1_s390x.deb ... Unpacking libsemanage1:s390x (3.0-1build1) over (2.9-3) ... Setting up libsemanage1:s390x (3.0-1build1) ... (Reading database ... 14466 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.8.1-1ubuntu1_s390x.deb ... Unpacking passwd (1:4.8.1-1ubuntu1) over (1:4.5-1.1ubuntu4) ... Setting up passwd (1:4.8.1-1ubuntu1) ... Installing new version of config file /etc/default/useradd ... Removing obsolete conffile /etc/cron.daily/passwd ... (Reading database ... 14459 files and directories currently installed.) Preparing to unpack .../00-libcom-err2_1.45.5-2ubuntu1_s390x.deb ... Unpacking libcom-err2:s390x (1.45.5-2ubuntu1) over (1.45.3-4ubuntu2) ... Preparing to unpack .../01-libss2_1.45.5-2ubuntu1_s390x.deb ... Unpacking libss2:s390x (1.45.5-2ubuntu1) over (1.45.3-4ubuntu2) ... Preparing to unpack .../02-mawk_1.3.4.20200120-2_s390x.deb ... Unpacking mawk (1.3.4.20200120-2) over (1.3.3-17ubuntu3) ... Selecting previously unselected package libprocps8:s390x. Preparing to unpack .../03-libprocps8_2%3a3.3.16-1ubuntu1_s390x.deb ... Unpacking libprocps8:s390x (2:3.3.16-1ubuntu1) ... Preparing to unpack .../04-procps_2%3a3.3.16-1ubuntu1_s390x.deb ... Unpacking procps (2:3.3.16-1ubuntu1) over (2:3.3.15-2ubuntu3) ... Preparing to unpack .../05-sensible-utils_0.0.12+nmu1_all.deb ... Unpacking sensible-utils (0.0.12+nmu1) over (0.0.12) ... Preparing to unpack .../06-libsqlite3-0_3.31.1-1ubuntu1_s390x.deb ... Unpacking libsqlite3-0:s390x (3.31.1-1ubuntu1) over (3.29.0-2) ... Preparing to unpack .../07-openssl_1.1.1d-2ubuntu3_s390x.deb ... Unpacking openssl (1.1.1d-2ubuntu3) over (1.1.1c-1ubuntu4) ... Preparing to unpack .../08-libpng16-16_1.6.37-2_s390x.deb ... Unpacking libpng16-16:s390x (1.6.37-2) over (1.6.37-1) ... Preparing to unpack .../09-libassuan0_2.5.3-7ubuntu2_s390x.deb ... Unpacking libassuan0:s390x (2.5.3-7ubuntu2) over (2.5.3-7ubuntu1) ... Preparing to unpack .../10-gpg_2.2.17-3ubuntu1_s390x.deb ... Unpacking gpg (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../11-gpgconf_2.2.17-3ubuntu1_s390x.deb ... Unpacking gpgconf (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../12-gpg-agent_2.2.17-3ubuntu1_s390x.deb ... Unpacking gpg-agent (2.2.17-3ubuntu1) over (2.2.12-1ubuntu3) ... Preparing to unpack .../13-liblockfile-bin_1.16-1.1_s390x.deb ... Unpacking liblockfile-bin (1.16-1.1) over (1.15-1) ... Preparing to unpack .../14-liblockfile1_1.16-1.1_s390x.deb ... Unpacking liblockfile1:s390x (1.16-1.1) over (1.15-1) ... Setting up libip4tc2:s390x (1.8.4-3ubuntu1) ... Setting up libapparmor1:s390x (2.13.3-7ubuntu2) ... Setting up liblockfile-bin (1.16-1.1) ... Setting up perl-modules-5.30 (5.30.0-9) ... Setting up libssl1.1:s390x (1.1.1d-2ubuntu3) ... Setting up libsqlite3-0:s390x (3.31.1-1ubuntu1) ... Setting up binutils-common:s390x (2.34-3ubuntu1) ... Setting up linux-libc-dev:s390x (5.4.0-15.18) ... Setting up libctf-nobfd0:s390x (2.34-3ubuntu1) ... Setting up libcom-err2:s390x (1.45.5-2ubuntu1) ... Setting up libassuan0:s390x (2.5.3-7ubuntu2) ... Setting up libgomp1:s390x (10-20200222-1ubuntu1) ... Setting up bzip2 (1.0.8-2) ... Setting up libcap2:s390x (1:2.32-1) ... Setting up libncurses6:s390x (6.1+20191019-1ubuntu1) ... Setting up libpng16-16:s390x (1.6.37-2) ... Setting up libatomic1:s390x (10-20200222-1ubuntu1) ... Setting up libss2:s390x (1.45.5-2ubuntu1) ... Setting up logsave (1.45.5-2ubuntu1) ... Setting up libubsan1:s390x (10-20200222-1ubuntu1) ... Setting up libdevmapper1.02.1:s390x (2:1.02.167-1ubuntu1) ... Setting up mount (2.34-0.1ubuntu7) ... Setting up sensible-utils (0.0.12+nmu1) ... Setting up gpgconf (2.2.17-3ubuntu1) ... Setting up libperl5.30:s390x (5.30.0-9) ... Setting up libisl22:s390x (0.22.1-1) ... Setting up mawk (1.3.4.20200120-2) ... Setting up liblockfile1:s390x (1.16-1.1) ... Setting up libjson-c4:s390x (0.13.1+dfsg-7) ... Setting up libbinutils:s390x (2.34-3ubuntu1) ... Setting up libc-dev-bin (2.30-0ubuntu3) ... Setting up openssl (1.1.1d-2ubuntu3) ... Setting up libcc1-0:s390x (10-20200222-1ubuntu1) ... Setting up gpg (2.2.17-3ubuntu1) ... Setting up libprocps8:s390x (2:3.3.16-1ubuntu1) ... Setting up libitm1:s390x (10-20200222-1ubuntu1) ... Setting up libkmod2:s390x (27-1ubuntu1) ... Setting up gcc-9-base:s390x (9.2.1-29ubuntu1) ... Setting up libctf0:s390x (2.34-3ubuntu1) ... Setting up binutils-s390x-linux-gnu (2.34-3ubuntu1) ... Setting up gpg-agent (2.2.17-3ubuntu1) ... Installing new version of config file /etc/logcheck/ignore.d.server/gpg-agent ... Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket -> /usr/lib/systemd/user/gpg-agent-browser.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket -> /usr/lib/systemd/user/gpg-agent-extra.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket -> /usr/lib/systemd/user/gpg-agent-ssh.socket. Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket -> /usr/lib/systemd/user/gpg-agent.socket. Setting up e2fsprogs (1.45.5-2ubuntu1) ... Setting up binutils (2.34-3ubuntu1) ... Setting up libasan5:s390x (9.2.1-29ubuntu1) ... Setting up perl (5.30.0-9) ... Setting up procps (2:3.3.16-1ubuntu1) ... Removing obsolete conffile /etc/sysctl.d/protect-links.conf ... Removing obsolete conffile /etc/sysctl.d/10-link-restrictions.conf ... Setting up cpp-9 (9.2.1-29ubuntu1) ... Setting up libc6-dev:s390x (2.30-0ubuntu3) ... Setting up libcryptsetup12:s390x (2:2.2.2-3ubuntu1) ... Setting up systemd (244.2-1ubuntu1) ... Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolved ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from random generator. Setting up libgcc-9-dev:s390x (9.2.1-29ubuntu1) ... Setting up gcc-9 (9.2.1-29ubuntu1) ... Setting up systemd-sysv (244.2-1ubuntu1) ... Setting up libstdc++-9-dev:s390x (9.2.1-29ubuntu1) ... Setting up g++-9 (9.2.1-29ubuntu1) ... Processing triggers for libc-bin (2.30-0ubuntu3) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-18758345 s390x focal-proposed -c chroot:build-PACKAGEBUILD-18758345 --arch=s390x --dist=focal-proposed --nolog coccinelle_1.0.4.deb-5ubuntu1.dsc Initiating build PACKAGEBUILD-18758345 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-174-generic #204-Ubuntu SMP Wed Jan 29 06:40:58 UTC 2020 s390x sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos02-s390x-017.buildd +==============================================================================+ | coccinelle 1.0.4.deb-5ubuntu1 (s390x) 24 Feb 2020 20:04 | +==============================================================================+ Package: coccinelle Version: 1.0.4.deb-5ubuntu1 Source Version: 1.0.4.deb-5ubuntu1 Distribution: focal-proposed Machine Architecture: s390x Host Architecture: s390x Build Architecture: s390x I: NOTICE: Log filtering will replace 'build/coccinelle-LR8NrS/coccinelle-1.0.4.deb' with '<>' I: NOTICE: Log filtering will replace 'build/coccinelle-LR8NrS' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-18758345/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- coccinelle_1.0.4.deb-5ubuntu1.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-6tD_mv/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-6tD_mv/apt_archive ./ InRelease Get:2 copy:/<>/resolver-6tD_mv/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-6tD_mv/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-6tD_mv/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-6tD_mv/apt_archive ./ Packages [528 B] Fetched 2861 B in 0s (180 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libffi6 libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 856 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-6tD_mv/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [856 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 856 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14465 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_s390x.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~), python2 (>= 2.6.6-3~), menhir (>= 20090204.dfsg), libmenhir-ocaml-dev (>= 20090204.dfsg), ocaml-findlib, ocaml-best-compilers, libpcre-ocaml-dev, libnum-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~), python2 (>= 2.6.6-3~), menhir (>= 20090204.dfsg), libmenhir-ocaml-dev (>= 20090204.dfsg), ocaml-findlib, ocaml-best-compilers, libpcre-ocaml-dev, libnum-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-cEu3oX/apt_archive/sbuild-build-depends-coccinelle-dummy.deb'. Ign:1 copy:/<>/resolver-cEu3oX/apt_archive ./ InRelease Get:2 copy:/<>/resolver-cEu3oX/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-cEu3oX/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-cEu3oX/apt_archive ./ Sources [408 B] Get:5 copy:/<>/resolver-cEu3oX/apt_archive ./ Packages [731 B] Fetched 3258 B in 0s (239 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 packages were automatically installed and are no longer required: libffi6 libhogweed4 libisl21 libnettle6 libperl5.28 perl-modules-5.28 Use 'apt autoremove' to remove them. 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 fonts-urw-base35 gettext gettext-base ghostscript groff-base hevea intltool-debian latexmk libapache-pom-java libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libbsd0 libcairo2 libcamlp4-ocaml-dev libcommons-logging-java libcommons-parent-java libcroco3 libcups2 libdbus-1-3 libdebhelper-perl libelf1 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libfindlib-ocaml libfontbox-java libfontconfig1 libfreetype6 libglib2.0-0 libgraphite2-3 libgs9 libgs9-common libgssapi-krb5-2 libharfbuzz-icu0 libharfbuzz0b libice6 libicu65 libidn11 libijs-0.35 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libk5crypto3 libkeyutils1 libkpathsea6 libkrb5-3 libkrb5support0 liblcms2-2 libmagic-mgc libmagic1 libmenhir-ocaml-dev libmpdec2 libncurses-dev libncurses5-dev libnetpbm10 libnum-ocaml libnum-ocaml-dev libopenjp2-7 libpaper-utils libpaper1 libparmap-ocaml libparmap-ocaml-dev libpcre-ocaml libpcre-ocaml-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpdfbox-java libpipeline1 libpixman-1-0 libptexenc1 libpycaml-ocaml libpycaml-ocaml-dev libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.8-minimal libpython3.8-stdlib libsigsegv2 libsm6 libsub-override-perl libsynctex2 libteckit0 libtexlua53 libtiff5 libtool libuchardet0 libwebp6 libx11-6 libx11-data libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxi6 libxml2 libxmu6 libxpm4 libxrender1 libxt6 libzzip-0-13 m4 man-db menhir mime-support netpbm ocaml-base-nox ocaml-compiler-libs ocaml-findlib ocaml-interp ocaml-nox pkg-config po-debconf poppler-data preview-latex-style python2 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-distutils python3-lib2to3 python3-minimal python3.8 python3.8-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 fonts-freefont-otf | fonts-freefont-ttf fonts-texgyre gettext-doc libasprintf-dev libgettextpo-dev ghostscript-x groff hevea-doc libavalon-framework-java libcommons-logging-java-doc libexcalibur-logkit-java liblog4j1.2-java cups-common krb5-doc krb5-user liblcms2-utils ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser menhir-doc ocaml-doc tuareg-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 python2-doc python-tk python2.7-doc binfmt-support python3-doc python3-tk python3-venv python3.8-venv python3.8-doc perl-tk xpdf | pdf-viewer xzdec cm-super texlive-fonts-extra-doc texlive-fonts-recommended-doc texlive-latex-base-doc python3-pygments icc-profiles libfile-which-perl libspreadsheet-parseexcel-perl texlive-latex-extra-doc texlive-latex-recommended-doc texlive-luatex texlive-pstricks dot2tex prerex ruby-tcltk | libtcltk-ruby texlive-pictures-doc vprerex Recommended packages: curl | wget | lynx xpdf | pdf-viewer dbus libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs fonts-droid-fallback krb5-locales libltdl-dev ocaml-man libfindlib-ocaml-dev ledit | readline-editor libmail-sendmail-perl lmodern dvisvgm fonts-adf-accanthis fonts-adf-berenis fonts-adf-gillius fonts-adf-universalis fonts-cabin fonts-cantarell 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-core fonts-noto-mono fonts-oflb-asana-math fonts-open-sans 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 fonts-urw-base35 gettext gettext-base ghostscript groff-base hevea intltool-debian latexmk libapache-pom-java libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libbsd0 libcairo2 libcamlp4-ocaml-dev libcommons-logging-java libcommons-parent-java libcroco3 libcups2 libdbus-1-3 libdebhelper-perl libelf1 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libfindlib-ocaml libfontbox-java libfontconfig1 libfreetype6 libglib2.0-0 libgraphite2-3 libgs9 libgs9-common libgssapi-krb5-2 libharfbuzz-icu0 libharfbuzz0b libice6 libicu65 libidn11 libijs-0.35 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libk5crypto3 libkeyutils1 libkpathsea6 libkrb5-3 libkrb5support0 liblcms2-2 libmagic-mgc libmagic1 libmenhir-ocaml-dev libmpdec2 libncurses-dev libncurses5-dev libnetpbm10 libnum-ocaml libnum-ocaml-dev libopenjp2-7 libpaper-utils libpaper1 libparmap-ocaml libparmap-ocaml-dev libpcre-ocaml libpcre-ocaml-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpdfbox-java libpipeline1 libpixman-1-0 libptexenc1 libpycaml-ocaml libpycaml-ocaml-dev libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.8-minimal libpython3.8-stdlib libsigsegv2 libsm6 libsub-override-perl libsynctex2 libteckit0 libtexlua53 libtiff5 libtool libuchardet0 libwebp6 libx11-6 libx11-data libxau6 libxaw7 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxi6 libxml2 libxmu6 libxpm4 libxrender1 libxt6 libzzip-0-13 m4 man-db menhir mime-support netpbm ocaml-base-nox ocaml-compiler-libs ocaml-findlib ocaml-interp ocaml-nox pkg-config po-debconf poppler-data preview-latex-style python2 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-distutils python3-lib2to3 python3-minimal python3.8 python3.8-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, 168 newly installed, 0 to remove and 0 not upgraded. Need to get 698 MB of archives. After this operation, 2345 MB of additional disk space will be used. Get:1 copy:/<>/resolver-cEu3oX/apt_archive ./ sbuild-build-depends-coccinelle-dummy 0.invalid.0 [1060 B] Get:2 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libpython3.8-minimal s390x 3.8.2~rc2-2 [701 kB] Get:3 http://ftpmaster.internal/ubuntu focal/main s390x libexpat1 s390x 2.2.9-1 [69.8 kB] Get:4 http://ftpmaster.internal/ubuntu focal-proposed/main s390x python3.8-minimal s390x 3.8.2~rc2-2 [1743 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main s390x python3-minimal s390x 3.8.0-3ubuntu1 [23.3 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main s390x mime-support all 3.64ubuntu1 [30.6 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main s390x libmpdec2 s390x 2.4.2-2 [80.6 kB] Get:8 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libpython3.8-stdlib s390x 3.8.2~rc2-2 [1627 kB] Get:9 http://ftpmaster.internal/ubuntu focal-proposed/main s390x python3.8 s390x 3.8.2~rc2-2 [363 kB] Get:10 http://ftpmaster.internal/ubuntu focal/main s390x libpython3-stdlib s390x 3.8.0-3ubuntu1 [6872 B] Get:11 http://ftpmaster.internal/ubuntu focal/main s390x python3 s390x 3.8.0-3ubuntu1 [47.6 kB] Get:12 http://ftpmaster.internal/ubuntu focal/main s390x libbsd0 s390x 0.10.0-1 [43.7 kB] Get:13 http://ftpmaster.internal/ubuntu focal/main s390x bsdmainutils s390x 11.1.2ubuntu2 [181 kB] Get:14 http://ftpmaster.internal/ubuntu focal/main s390x libuchardet0 s390x 0.0.6-3 [64.5 kB] Get:15 http://ftpmaster.internal/ubuntu focal/main s390x groff-base s390x 1.22.4-4 [824 kB] Get:16 http://ftpmaster.internal/ubuntu focal/main s390x libpipeline1 s390x 1.5.2-2build1 [26.5 kB] Get:17 http://ftpmaster.internal/ubuntu focal/main s390x man-db s390x 2.9.0-2 [1103 kB] Get:18 http://ftpmaster.internal/ubuntu focal/main s390x poppler-data all 0.4.9-2 [1475 kB] Get:19 http://ftpmaster.internal/ubuntu focal/universe s390x libpython2.7-minimal s390x 2.7.17-1ubuntu5 [335 kB] Get:20 http://ftpmaster.internal/ubuntu focal/universe s390x python2.7-minimal s390x 2.7.17-1ubuntu5 [1250 kB] Get:21 http://ftpmaster.internal/ubuntu focal/universe s390x python2-minimal s390x 2.7.17-2ubuntu3 [27.5 kB] Get:22 http://ftpmaster.internal/ubuntu focal/universe s390x libpython2.7-stdlib s390x 2.7.17-1ubuntu5 [1832 kB] Get:23 http://ftpmaster.internal/ubuntu focal/universe s390x python2.7 s390x 2.7.17-1ubuntu5 [248 kB] Get:24 http://ftpmaster.internal/ubuntu focal/universe s390x libpython2-stdlib s390x 2.7.17-2ubuntu3 [7060 B] Get:25 http://ftpmaster.internal/ubuntu focal/universe s390x python2 s390x 2.7.17-2ubuntu3 [26.5 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main s390x ucf all 3.0038+nmu1 [51.6 kB] Get:27 http://ftpmaster.internal/ubuntu focal/universe s390x tex-common all 6.13 [32.7 kB] Get:28 http://ftpmaster.internal/ubuntu focal/main s390x libmagic-mgc s390x 1:5.38-4 [219 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main s390x libmagic1 s390x 1:5.38-4 [72.8 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main s390x file s390x 1:5.38-4 [23.1 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main s390x libdbus-1-3 s390x 1.12.16-2ubuntu2 [170 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main s390x libelf1 s390x 0.176-1.1build1 [47.5 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main s390x libglib2.0-0 s390x 2.63.5-2 [1179 kB] Get:34 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libicu65 s390x 65.1-1ubuntu2 [8250 kB] Get:35 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libxml2 s390x 2.9.10+dfsg-1ubuntu3 [658 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main s390x gettext-base s390x 0.19.8.1-10 [49.1 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main s390x libkrb5support0 s390x 1.17-6ubuntu4 [30.2 kB] Get:38 http://ftpmaster.internal/ubuntu focal/main s390x libk5crypto3 s390x 1.17-6ubuntu4 [78.1 kB] Get:39 http://ftpmaster.internal/ubuntu focal/main s390x libkeyutils1 s390x 1.6-6ubuntu1 [9848 B] Get:40 http://ftpmaster.internal/ubuntu focal/main s390x libkrb5-3 s390x 1.17-6ubuntu4 [310 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main s390x libgssapi-krb5-2 s390x 1.17-6ubuntu4 [111 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main s390x libxau6 s390x 1:1.0.9-0ubuntu1 [7212 B] Get:43 http://ftpmaster.internal/ubuntu focal/main s390x libxdmcp6 s390x 1:1.1.3-0ubuntu1 [10.4 kB] Get:44 http://ftpmaster.internal/ubuntu focal/main s390x libxcb1 s390x 1.13.1-5build1 [42.4 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main s390x libx11-data all 2:1.6.8-1 [113 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main s390x libx11-6 s390x 2:1.6.8-1 [542 kB] Get:47 http://ftpmaster.internal/ubuntu focal/main s390x libxext6 s390x 2:1.3.4-0ubuntu1 [27.0 kB] Get:48 http://ftpmaster.internal/ubuntu focal/main s390x libsigsegv2 s390x 2.12-2 [13.8 kB] Get:49 http://ftpmaster.internal/ubuntu focal/main s390x m4 s390x 1.4.18-4 [196 kB] Get:50 http://ftpmaster.internal/ubuntu focal/main s390x autoconf all 2.69-11.1 [321 kB] Get:51 http://ftpmaster.internal/ubuntu focal/main s390x autotools-dev all 20180224.1 [39.6 kB] Get:52 http://ftpmaster.internal/ubuntu focal/main s390x automake all 1:1.16.1-4ubuntu6 [522 kB] Get:53 http://ftpmaster.internal/ubuntu focal/main s390x autopoint all 0.19.8.1-10 [412 kB] Get:54 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x ocaml-base-nox s390x 4.08.1-8 [470 kB] Get:55 http://ftpmaster.internal/ubuntu focal/main s390x libncurses-dev s390x 6.1+20191019-1ubuntu1 [318 kB] Get:56 http://ftpmaster.internal/ubuntu focal/main s390x libncurses5-dev s390x 6.1+20191019-1ubuntu1 [992 B] Get:57 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x ocaml-compiler-libs s390x 4.08.1-8 [24.3 MB] Get:58 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x ocaml-interp s390x 4.08.1-8 [4635 kB] Get:59 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x ocaml-nox s390x 4.08.1-8 [54.7 MB] Get:60 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libcamlp4-ocaml-dev s390x 4.08+1-1 [16.0 MB] Get:61 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x camlp4 s390x 4.08+1-1 [8404 kB] Get:62 http://ftpmaster.internal/ubuntu focal/main s390x libtool all 2.4.6-13 [161 kB] Get:63 http://ftpmaster.internal/ubuntu focal/main s390x dh-autoreconf all 19 [16.1 kB] Get:64 http://ftpmaster.internal/ubuntu focal/main s390x libdebhelper-perl all 12.9ubuntu1 [62.0 kB] Get:65 http://ftpmaster.internal/ubuntu focal/main s390x libarchive-zip-perl all 1.67-1 [90.4 kB] Get:66 http://ftpmaster.internal/ubuntu focal/main s390x libsub-override-perl all 0.09-2 [9532 B] Get:67 http://ftpmaster.internal/ubuntu focal/main s390x libfile-stripnondeterminism-perl all 1.6.3-2 [16.0 kB] Get:68 http://ftpmaster.internal/ubuntu focal/main s390x dh-strip-nondeterminism all 1.6.3-2 [5228 B] Get:69 http://ftpmaster.internal/ubuntu focal/main s390x dwz s390x 0.13-5 [146 kB] Get:70 http://ftpmaster.internal/ubuntu focal/main s390x libcroco3 s390x 0.6.13-1 [73.7 kB] Get:71 http://ftpmaster.internal/ubuntu focal/main s390x gettext s390x 0.19.8.1-10 [867 kB] Get:72 http://ftpmaster.internal/ubuntu focal/main s390x intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:73 http://ftpmaster.internal/ubuntu focal/main s390x po-debconf all 1.0.21 [233 kB] Get:74 http://ftpmaster.internal/ubuntu focal/main s390x debhelper all 12.9ubuntu1 [869 kB] Get:75 http://ftpmaster.internal/ubuntu focal-proposed/main s390x python3-lib2to3 all 3.8.0-1ubuntu1 [74.1 kB] Get:76 http://ftpmaster.internal/ubuntu focal-proposed/main s390x python3-distutils all 3.8.0-1ubuntu1 [140 kB] Get:77 http://ftpmaster.internal/ubuntu focal/main s390x dh-python all 4.20191017ubuntu7 [87.1 kB] Get:78 http://ftpmaster.internal/ubuntu focal/main s390x fonts-dejavu-core all 2.37-1 [1041 kB] Get:79 http://ftpmaster.internal/ubuntu focal/main s390x fontconfig-config all 2.13.1-2ubuntu2 [28.9 kB] Get:80 http://ftpmaster.internal/ubuntu focal/universe s390x fonts-lmodern all 2.004.5-6 [4532 kB] Get:81 http://ftpmaster.internal/ubuntu focal/main s390x fonts-urw-base35 all 20170801.1-3 [6333 kB] Get:82 http://ftpmaster.internal/ubuntu focal/main s390x libgs9-common all 9.50~dfsg-5ubuntu3 [681 kB] Get:83 http://ftpmaster.internal/ubuntu focal/main s390x libavahi-common-data s390x 0.7-4ubuntu6 [21.3 kB] Get:84 http://ftpmaster.internal/ubuntu focal/main s390x libavahi-common3 s390x 0.7-4ubuntu6 [20.2 kB] Get:85 http://ftpmaster.internal/ubuntu focal/main s390x libavahi-client3 s390x 0.7-4ubuntu6 [22.7 kB] Get:86 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libcups2 s390x 2.3.1-9ubuntu1 [213 kB] Get:87 http://ftpmaster.internal/ubuntu focal/main s390x libfreetype6 s390x 2.10.1-2 [319 kB] Get:88 http://ftpmaster.internal/ubuntu focal/main s390x libfontconfig1 s390x 2.13.1-2ubuntu2 [108 kB] Get:89 http://ftpmaster.internal/ubuntu focal/main s390x libidn11 s390x 1.33-2.2ubuntu2 [44.6 kB] Get:90 http://ftpmaster.internal/ubuntu focal/main s390x libijs-0.35 s390x 0.35-15 [15.0 kB] Get:91 http://ftpmaster.internal/ubuntu focal/main s390x libjbig2dec0 s390x 0.17-1 [56.0 kB] Get:92 http://ftpmaster.internal/ubuntu focal/main s390x libjpeg-turbo8 s390x 2.0.3-0ubuntu1 [102 kB] Get:93 http://ftpmaster.internal/ubuntu focal/main s390x libjpeg8 s390x 8c-2ubuntu8 [2142 B] Get:94 http://ftpmaster.internal/ubuntu focal/main s390x liblcms2-2 s390x 2.9-4 [126 kB] Get:95 http://ftpmaster.internal/ubuntu focal/main s390x libopenjp2-7 s390x 2.3.1-1ubuntu4 [134 kB] Get:96 http://ftpmaster.internal/ubuntu focal/main s390x libpaper1 s390x 1.1.28 [12.7 kB] Get:97 http://ftpmaster.internal/ubuntu focal/main s390x libjbig0 s390x 2.1-3.1build1 [26.3 kB] Get:98 http://ftpmaster.internal/ubuntu focal/main s390x libwebp6 s390x 0.6.1-2 [149 kB] Get:99 http://ftpmaster.internal/ubuntu focal/main s390x libtiff5 s390x 4.1.0+git191117-2 [151 kB] Get:100 http://ftpmaster.internal/ubuntu focal/main s390x libgs9 s390x 9.50~dfsg-5ubuntu3 [2018 kB] Get:101 http://ftpmaster.internal/ubuntu focal/main s390x ghostscript s390x 9.50~dfsg-5ubuntu3 [51.3 kB] Get:102 http://ftpmaster.internal/ubuntu focal/universe s390x libnetpbm10 s390x 2:10.0-15.3build1 [54.8 kB] Get:103 http://ftpmaster.internal/ubuntu focal/universe s390x netpbm s390x 2:10.0-15.3build1 [1014 kB] Get:104 http://ftpmaster.internal/ubuntu focal/main s390x libpaper-utils s390x 1.1.28 [8184 B] Get:105 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libkpathsea6 s390x 2019.20190605.51237-3build1 [55.4 kB] Get:106 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libptexenc1 s390x 2019.20190605.51237-3build1 [35.0 kB] Get:107 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libsynctex2 s390x 2019.20190605.51237-3build1 [53.9 kB] Get:108 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libtexlua53 s390x 2019.20190605.51237-3build1 [99.4 kB] Get:109 http://ftpmaster.internal/ubuntu focal/main s390x t1utils s390x 1.41-3 [53.7 kB] Get:110 http://ftpmaster.internal/ubuntu focal/main s390x libpixman-1-0 s390x 0.38.4-0ubuntu1 [136 kB] Get:111 http://ftpmaster.internal/ubuntu focal/main s390x libxcb-render0 s390x 1.13.1-5build1 [14.7 kB] Get:112 http://ftpmaster.internal/ubuntu focal/main s390x libxcb-shm0 s390x 1.13.1-5build1 [5436 B] Get:113 http://ftpmaster.internal/ubuntu focal/main s390x libxrender1 s390x 1:0.9.10-1 [17.8 kB] Get:114 http://ftpmaster.internal/ubuntu focal/main s390x libcairo2 s390x 1.16.0-4ubuntu1 [535 kB] Get:115 http://ftpmaster.internal/ubuntu focal/main s390x libgraphite2-3 s390x 1.3.13-11 [67.9 kB] Get:116 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libharfbuzz0b s390x 2.6.4-1ubuntu2 [371 kB] Get:117 http://ftpmaster.internal/ubuntu focal-proposed/main s390x libharfbuzz-icu0 s390x 2.6.4-1ubuntu2 [5416 B] Get:118 http://ftpmaster.internal/ubuntu focal/universe s390x libteckit0 s390x 2.5.8+ds2-5ubuntu1 [300 kB] Get:119 http://ftpmaster.internal/ubuntu focal/main s390x x11-common all 1:7.7+19ubuntu14 [22.3 kB] Get:120 http://ftpmaster.internal/ubuntu focal/main s390x libice6 s390x 2:1.0.10-0ubuntu1 [36.8 kB] Get:121 http://ftpmaster.internal/ubuntu focal/main s390x libsm6 s390x 2:1.2.3-1 [15.2 kB] Get:122 http://ftpmaster.internal/ubuntu focal/main s390x libxt6 s390x 1:1.1.5-1 [147 kB] Get:123 http://ftpmaster.internal/ubuntu focal/main s390x libxmu6 s390x 2:1.1.3-0ubuntu1 [42.7 kB] Get:124 http://ftpmaster.internal/ubuntu focal/main s390x libxpm4 s390x 1:3.5.12-1 [32.6 kB] Get:125 http://ftpmaster.internal/ubuntu focal/main s390x libxaw7 s390x 2:1.0.13-1 [163 kB] Get:126 http://ftpmaster.internal/ubuntu focal/main s390x libxi6 s390x 2:1.7.10-0ubuntu1 [27.2 kB] Get:127 http://ftpmaster.internal/ubuntu focal/universe s390x libzzip-0-13 s390x 0.13.62-3.2 [25.1 kB] Get:128 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x texlive-binaries s390x 2019.20190605.51237-3build1 [6762 kB] Get:129 http://ftpmaster.internal/ubuntu focal/main s390x xdg-utils all 1.1.3-1ubuntu2 [60.5 kB] Get:130 http://ftpmaster.internal/ubuntu focal/universe s390x texlive-base all 2019.20200218-1 [20.8 MB] Get:131 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x hevea all 2.32-3build1 [887 kB] Get:132 http://ftpmaster.internal/ubuntu focal/universe s390x texlive-latex-base all 2019.20200218-1 [990 kB] Get:133 http://ftpmaster.internal/ubuntu focal/universe s390x latexmk all 1:4.67-0.1 [376 kB] Get:134 http://ftpmaster.internal/ubuntu focal/universe s390x libapache-pom-java all 18-1 [4720 B] Get:135 http://ftpmaster.internal/ubuntu focal/universe s390x libcommons-parent-java all 43-1 [10.8 kB] Get:136 http://ftpmaster.internal/ubuntu focal/universe s390x libcommons-logging-java all 1.2-2 [60.3 kB] Get:137 http://ftpmaster.internal/ubuntu focal/main s390x libexpat1-dev s390x 2.2.9-1 [112 kB] Get:138 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libfindlib-ocaml s390x 1.8.1-1build3 [172 kB] Get:139 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libmenhir-ocaml-dev s390x 20200123-1 [462 kB] Get:140 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libnum-ocaml s390x 1.3-1 [156 kB] Get:141 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libnum-ocaml-dev s390x 1.3-1 [105 kB] Get:142 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libparmap-ocaml s390x 1.1.1-2 [73.2 kB] Get:143 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libparmap-ocaml-dev s390x 1.1.1-2 [161 kB] Get:144 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libpcre-ocaml s390x 7.4.3-1 [93.5 kB] Get:145 http://ftpmaster.internal/ubuntu focal/main s390x libpcre16-3 s390x 2:8.39-12 [79.0 kB] Get:146 http://ftpmaster.internal/ubuntu focal/main s390x libpcre32-3 s390x 2:8.39-12 [73.8 kB] Get:147 http://ftpmaster.internal/ubuntu focal/main s390x libpcrecpp0v5 s390x 2:8.39-12 [14.6 kB] Get:148 http://ftpmaster.internal/ubuntu focal/main s390x libpcre3-dev s390x 2:8.39-12 [373 kB] Get:149 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x ocaml-findlib s390x 1.8.1-1build3 [463 kB] Get:150 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libpcre-ocaml-dev s390x 7.4.3-1 [203 kB] Get:151 http://ftpmaster.internal/ubuntu focal/universe s390x libpython2.7 s390x 2.7.17-1ubuntu5 [1070 kB] Get:152 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libpycaml-ocaml s390x 0.82-15ubuntu4 [12.9 kB] Get:153 http://ftpmaster.internal/ubuntu focal/universe s390x libpython2.7-dev s390x 2.7.17-1ubuntu5 [2438 kB] Get:154 http://ftpmaster.internal/ubuntu focal/universe s390x libpython2-dev s390x 2.7.17-2ubuntu3 [7124 B] Get:155 http://ftpmaster.internal/ubuntu focal/universe s390x python2.7-dev s390x 2.7.17-1ubuntu5 [287 kB] Get:156 http://ftpmaster.internal/ubuntu focal/universe s390x python2-dev s390x 2.7.17-2ubuntu3 [1276 B] Get:157 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x libpycaml-ocaml-dev s390x 0.82-15ubuntu4 [405 kB] Get:158 http://ftpmaster.internal/ubuntu focal-proposed/universe s390x menhir s390x 20200123-1 [810 kB] Get:159 http://ftpmaster.internal/ubuntu focal/main s390x pkg-config s390x 0.29.1-0ubuntu4 [44.4 kB] Get:160 http://ftpmaster.internal/ubuntu focal/universe s390x preview-latex-style all 11.91-2ubuntu1 [185 kB] Get:161 http://ftpmaster.internal/ubuntu focal/universe s390x texlive-fonts-extra all 2019.202000218-1 [460 MB] Get:162 http://ftpmaster.internal/ubuntu focal/universe s390x texlive-fonts-recommended all 2019.20200218-1 [4972 kB] Get:163 http://ftpmaster.internal/ubuntu focal/universe s390x libfontbox-java all 1:1.8.16-2 [207 kB] Get:164 http://ftpmaster.internal/ubuntu focal/universe s390x libpdfbox-java all 1:1.8.16-2 [5199 kB] Get:165 http://ftpmaster.internal/ubuntu focal/universe s390x texlive-latex-recommended all 2019.20200218-1 [15.7 MB] Get:166 http://ftpmaster.internal/ubuntu focal/universe s390x texlive-pictures all 2019.20200218-1 [4492 kB] Get:167 http://ftpmaster.internal/ubuntu focal/universe s390x texlive-latex-extra all 2019.202000218-1 [12.5 MB] Get:168 http://ftpmaster.internal/ubuntu focal/universe s390x dh-ocaml all 1.1.1 [79.7 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 698 MB in 36s (19.4 MB/s) Selecting previously unselected package libpython3.8-minimal:s390x. (Reading database ... 14465 files and directories currently installed.) Preparing to unpack .../libpython3.8-minimal_3.8.2~rc2-2_s390x.deb ... Unpacking libpython3.8-minimal:s390x (3.8.2~rc2-2) ... Selecting previously unselected package libexpat1:s390x. Preparing to unpack .../libexpat1_2.2.9-1_s390x.deb ... Unpacking libexpat1:s390x (2.2.9-1) ... Selecting previously unselected package python3.8-minimal. Preparing to unpack .../python3.8-minimal_3.8.2~rc2-2_s390x.deb ... Unpacking python3.8-minimal (3.8.2~rc2-2) ... Setting up libpython3.8-minimal:s390x (3.8.2~rc2-2) ... Setting up libexpat1:s390x (2.2.9-1) ... Setting up python3.8-minimal (3.8.2~rc2-2) ... Selecting previously unselected package python3-minimal. (Reading database ... 14756 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.8.0-3ubuntu1_s390x.deb ... Unpacking python3-minimal (3.8.0-3ubuntu1) ... Selecting previously unselected package mime-support. Preparing to unpack .../1-mime-support_3.64ubuntu1_all.deb ... Unpacking mime-support (3.64ubuntu1) ... Selecting previously unselected package libmpdec2:s390x. Preparing to unpack .../2-libmpdec2_2.4.2-2_s390x.deb ... Unpacking libmpdec2:s390x (2.4.2-2) ... Selecting previously unselected package libpython3.8-stdlib:s390x. Preparing to unpack .../3-libpython3.8-stdlib_3.8.2~rc2-2_s390x.deb ... Unpacking libpython3.8-stdlib:s390x (3.8.2~rc2-2) ... Selecting previously unselected package python3.8. Preparing to unpack .../4-python3.8_3.8.2~rc2-2_s390x.deb ... Unpacking python3.8 (3.8.2~rc2-2) ... Selecting previously unselected package libpython3-stdlib:s390x. Preparing to unpack .../5-libpython3-stdlib_3.8.0-3ubuntu1_s390x.deb ... Unpacking libpython3-stdlib:s390x (3.8.0-3ubuntu1) ... Setting up python3-minimal (3.8.0-3ubuntu1) ... /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdin = io.open(p2cwrite, 'wb', bufsize) Selecting previously unselected package python3. (Reading database ... 15158 files and directories currently installed.) Preparing to unpack .../00-python3_3.8.0-3ubuntu1_s390x.deb ... Unpacking python3 (3.8.0-3ubuntu1) ... Selecting previously unselected package libbsd0:s390x. Preparing to unpack .../01-libbsd0_0.10.0-1_s390x.deb ... Unpacking libbsd0:s390x (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../02-bsdmainutils_11.1.2ubuntu2_s390x.deb ... Unpacking bsdmainutils (11.1.2ubuntu2) ... Selecting previously unselected package libuchardet0:s390x. Preparing to unpack .../03-libuchardet0_0.0.6-3_s390x.deb ... Unpacking libuchardet0:s390x (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../04-groff-base_1.22.4-4_s390x.deb ... Unpacking groff-base (1.22.4-4) ... Selecting previously unselected package libpipeline1:s390x. Preparing to unpack .../05-libpipeline1_1.5.2-2build1_s390x.deb ... Unpacking libpipeline1:s390x (1.5.2-2build1) ... Selecting previously unselected package man-db. Preparing to unpack .../06-man-db_2.9.0-2_s390x.deb ... Unpacking man-db (2.9.0-2) ... Selecting previously unselected package poppler-data. Preparing to unpack .../07-poppler-data_0.4.9-2_all.deb ... Unpacking poppler-data (0.4.9-2) ... Selecting previously unselected package libpython2.7-minimal:s390x. Preparing to unpack .../08-libpython2.7-minimal_2.7.17-1ubuntu5_s390x.deb ... Unpacking libpython2.7-minimal:s390x (2.7.17-1ubuntu5) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../09-python2.7-minimal_2.7.17-1ubuntu5_s390x.deb ... Unpacking python2.7-minimal (2.7.17-1ubuntu5) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../10-python2-minimal_2.7.17-2ubuntu3_s390x.deb ... Unpacking python2-minimal (2.7.17-2ubuntu3) ... Selecting previously unselected package libpython2.7-stdlib:s390x. Preparing to unpack .../11-libpython2.7-stdlib_2.7.17-1ubuntu5_s390x.deb ... Unpacking libpython2.7-stdlib:s390x (2.7.17-1ubuntu5) ... Selecting previously unselected package python2.7. Preparing to unpack .../12-python2.7_2.7.17-1ubuntu5_s390x.deb ... Unpacking python2.7 (2.7.17-1ubuntu5) ... Selecting previously unselected package libpython2-stdlib:s390x. Preparing to unpack .../13-libpython2-stdlib_2.7.17-2ubuntu3_s390x.deb ... Unpacking libpython2-stdlib:s390x (2.7.17-2ubuntu3) ... Setting up libpython2.7-minimal:s390x (2.7.17-1ubuntu5) ... Setting up python2.7-minimal (2.7.17-1ubuntu5) ... Setting up python2-minimal (2.7.17-2ubuntu3) ... Selecting previously unselected package python2. (Reading database ... 17043 files and directories currently installed.) Preparing to unpack .../000-python2_2.7.17-2ubuntu3_s390x.deb ... Unpacking python2 (2.7.17-2ubuntu3) ... 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.13_all.deb ... Unpacking tex-common (6.13) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../003-libmagic-mgc_1%3a5.38-4_s390x.deb ... Unpacking libmagic-mgc (1:5.38-4) ... Selecting previously unselected package libmagic1:s390x. Preparing to unpack .../004-libmagic1_1%3a5.38-4_s390x.deb ... Unpacking libmagic1:s390x (1:5.38-4) ... Selecting previously unselected package file. Preparing to unpack .../005-file_1%3a5.38-4_s390x.deb ... Unpacking file (1:5.38-4) ... Selecting previously unselected package libdbus-1-3:s390x. Preparing to unpack .../006-libdbus-1-3_1.12.16-2ubuntu2_s390x.deb ... Unpacking libdbus-1-3:s390x (1.12.16-2ubuntu2) ... Selecting previously unselected package libelf1:s390x. Preparing to unpack .../007-libelf1_0.176-1.1build1_s390x.deb ... Unpacking libelf1:s390x (0.176-1.1build1) ... Selecting previously unselected package libglib2.0-0:s390x. Preparing to unpack .../008-libglib2.0-0_2.63.5-2_s390x.deb ... Unpacking libglib2.0-0:s390x (2.63.5-2) ... Selecting previously unselected package libicu65:s390x. Preparing to unpack .../009-libicu65_65.1-1ubuntu2_s390x.deb ... Unpacking libicu65:s390x (65.1-1ubuntu2) ... Selecting previously unselected package libxml2:s390x. Preparing to unpack .../010-libxml2_2.9.10+dfsg-1ubuntu3_s390x.deb ... Unpacking libxml2:s390x (2.9.10+dfsg-1ubuntu3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../011-gettext-base_0.19.8.1-10_s390x.deb ... Unpacking gettext-base (0.19.8.1-10) ... Selecting previously unselected package libkrb5support0:s390x. Preparing to unpack .../012-libkrb5support0_1.17-6ubuntu4_s390x.deb ... Unpacking libkrb5support0:s390x (1.17-6ubuntu4) ... Selecting previously unselected package libk5crypto3:s390x. Preparing to unpack .../013-libk5crypto3_1.17-6ubuntu4_s390x.deb ... Unpacking libk5crypto3:s390x (1.17-6ubuntu4) ... Selecting previously unselected package libkeyutils1:s390x. Preparing to unpack .../014-libkeyutils1_1.6-6ubuntu1_s390x.deb ... Unpacking libkeyutils1:s390x (1.6-6ubuntu1) ... Selecting previously unselected package libkrb5-3:s390x. Preparing to unpack .../015-libkrb5-3_1.17-6ubuntu4_s390x.deb ... Unpacking libkrb5-3:s390x (1.17-6ubuntu4) ... Selecting previously unselected package libgssapi-krb5-2:s390x. Preparing to unpack .../016-libgssapi-krb5-2_1.17-6ubuntu4_s390x.deb ... Unpacking libgssapi-krb5-2:s390x (1.17-6ubuntu4) ... Selecting previously unselected package libxau6:s390x. Preparing to unpack .../017-libxau6_1%3a1.0.9-0ubuntu1_s390x.deb ... Unpacking libxau6:s390x (1:1.0.9-0ubuntu1) ... Selecting previously unselected package libxdmcp6:s390x. Preparing to unpack .../018-libxdmcp6_1%3a1.1.3-0ubuntu1_s390x.deb ... Unpacking libxdmcp6:s390x (1:1.1.3-0ubuntu1) ... Selecting previously unselected package libxcb1:s390x. Preparing to unpack .../019-libxcb1_1.13.1-5build1_s390x.deb ... Unpacking libxcb1:s390x (1.13.1-5build1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../020-libx11-data_2%3a1.6.8-1_all.deb ... Unpacking libx11-data (2:1.6.8-1) ... Selecting previously unselected package libx11-6:s390x. Preparing to unpack .../021-libx11-6_2%3a1.6.8-1_s390x.deb ... Unpacking libx11-6:s390x (2:1.6.8-1) ... Selecting previously unselected package libxext6:s390x. Preparing to unpack .../022-libxext6_2%3a1.3.4-0ubuntu1_s390x.deb ... Unpacking libxext6:s390x (2:1.3.4-0ubuntu1) ... Selecting previously unselected package libsigsegv2:s390x. Preparing to unpack .../023-libsigsegv2_2.12-2_s390x.deb ... Unpacking libsigsegv2:s390x (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../024-m4_1.4.18-4_s390x.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../025-autoconf_2.69-11.1_all.deb ... Unpacking autoconf (2.69-11.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../026-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../027-automake_1%3a1.16.1-4ubuntu6_all.deb ... Unpacking automake (1:1.16.1-4ubuntu6) ... Selecting previously unselected package autopoint. Preparing to unpack .../028-autopoint_0.19.8.1-10_all.deb ... Unpacking autopoint (0.19.8.1-10) ... Selecting previously unselected package ocaml-base-nox. Preparing to unpack .../029-ocaml-base-nox_4.08.1-8_s390x.deb ... Unpacking ocaml-base-nox (4.08.1-8) ... Selecting previously unselected package libncurses-dev:s390x. Preparing to unpack .../030-libncurses-dev_6.1+20191019-1ubuntu1_s390x.deb ... Unpacking libncurses-dev:s390x (6.1+20191019-1ubuntu1) ... Selecting previously unselected package libncurses5-dev:s390x. Preparing to unpack .../031-libncurses5-dev_6.1+20191019-1ubuntu1_s390x.deb ... Unpacking libncurses5-dev:s390x (6.1+20191019-1ubuntu1) ... Selecting previously unselected package ocaml-compiler-libs. Preparing to unpack .../032-ocaml-compiler-libs_4.08.1-8_s390x.deb ... Unpacking ocaml-compiler-libs (4.08.1-8) ... Selecting previously unselected package ocaml-interp. Preparing to unpack .../033-ocaml-interp_4.08.1-8_s390x.deb ... Unpacking ocaml-interp (4.08.1-8) ... Selecting previously unselected package ocaml-nox. Preparing to unpack .../034-ocaml-nox_4.08.1-8_s390x.deb ... Unpacking ocaml-nox (4.08.1-8) ... Selecting previously unselected package libcamlp4-ocaml-dev. Preparing to unpack .../035-libcamlp4-ocaml-dev_4.08+1-1_s390x.deb ... Unpacking libcamlp4-ocaml-dev (4.08+1-1) ... Selecting previously unselected package camlp4. Preparing to unpack .../036-camlp4_4.08+1-1_s390x.deb ... Unpacking camlp4 (4.08+1-1) ... Selecting previously unselected package libtool. Preparing to unpack .../037-libtool_2.4.6-13_all.deb ... Unpacking libtool (2.4.6-13) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../038-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../039-libdebhelper-perl_12.9ubuntu1_all.deb ... Unpacking libdebhelper-perl (12.9ubuntu1) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../040-libarchive-zip-perl_1.67-1_all.deb ... Unpacking libarchive-zip-perl (1.67-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../041-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../042-libfile-stripnondeterminism-perl_1.6.3-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.6.3-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../043-dh-strip-nondeterminism_1.6.3-2_all.deb ... Unpacking dh-strip-nondeterminism (1.6.3-2) ... Selecting previously unselected package dwz. Preparing to unpack .../044-dwz_0.13-5_s390x.deb ... Unpacking dwz (0.13-5) ... Selecting previously unselected package libcroco3:s390x. Preparing to unpack .../045-libcroco3_0.6.13-1_s390x.deb ... Unpacking libcroco3:s390x (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../046-gettext_0.19.8.1-10_s390x.deb ... Unpacking gettext (0.19.8.1-10) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../047-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../048-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../049-debhelper_12.9ubuntu1_all.deb ... Unpacking debhelper (12.9ubuntu1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../050-python3-lib2to3_3.8.0-1ubuntu1_all.deb ... Unpacking python3-lib2to3 (3.8.0-1ubuntu1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../051-python3-distutils_3.8.0-1ubuntu1_all.deb ... Unpacking python3-distutils (3.8.0-1ubuntu1) ... Selecting previously unselected package dh-python. Preparing to unpack .../052-dh-python_4.20191017ubuntu7_all.deb ... Unpacking dh-python (4.20191017ubuntu7) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../053-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../054-fontconfig-config_2.13.1-2ubuntu2_all.deb ... Unpacking fontconfig-config (2.13.1-2ubuntu2) ... Selecting previously unselected package fonts-lmodern. Preparing to unpack .../055-fonts-lmodern_2.004.5-6_all.deb ... Unpacking fonts-lmodern (2.004.5-6) ... Selecting previously unselected package fonts-urw-base35. Preparing to unpack .../056-fonts-urw-base35_20170801.1-3_all.deb ... Unpacking fonts-urw-base35 (20170801.1-3) ... Selecting previously unselected package libgs9-common. Preparing to unpack .../057-libgs9-common_9.50~dfsg-5ubuntu3_all.deb ... Unpacking libgs9-common (9.50~dfsg-5ubuntu3) ... Selecting previously unselected package libavahi-common-data:s390x. Preparing to unpack .../058-libavahi-common-data_0.7-4ubuntu6_s390x.deb ... Unpacking libavahi-common-data:s390x (0.7-4ubuntu6) ... Selecting previously unselected package libavahi-common3:s390x. Preparing to unpack .../059-libavahi-common3_0.7-4ubuntu6_s390x.deb ... Unpacking libavahi-common3:s390x (0.7-4ubuntu6) ... Selecting previously unselected package libavahi-client3:s390x. Preparing to unpack .../060-libavahi-client3_0.7-4ubuntu6_s390x.deb ... Unpacking libavahi-client3:s390x (0.7-4ubuntu6) ... Selecting previously unselected package libcups2:s390x. Preparing to unpack .../061-libcups2_2.3.1-9ubuntu1_s390x.deb ... Unpacking libcups2:s390x (2.3.1-9ubuntu1) ... Selecting previously unselected package libfreetype6:s390x. Preparing to unpack .../062-libfreetype6_2.10.1-2_s390x.deb ... Unpacking libfreetype6:s390x (2.10.1-2) ... Selecting previously unselected package libfontconfig1:s390x. Preparing to unpack .../063-libfontconfig1_2.13.1-2ubuntu2_s390x.deb ... Unpacking libfontconfig1:s390x (2.13.1-2ubuntu2) ... Selecting previously unselected package libidn11:s390x. Preparing to unpack .../064-libidn11_1.33-2.2ubuntu2_s390x.deb ... Unpacking libidn11:s390x (1.33-2.2ubuntu2) ... Selecting previously unselected package libijs-0.35:s390x. Preparing to unpack .../065-libijs-0.35_0.35-15_s390x.deb ... Unpacking libijs-0.35:s390x (0.35-15) ... Selecting previously unselected package libjbig2dec0:s390x. Preparing to unpack .../066-libjbig2dec0_0.17-1_s390x.deb ... Unpacking libjbig2dec0:s390x (0.17-1) ... Selecting previously unselected package libjpeg-turbo8:s390x. Preparing to unpack .../067-libjpeg-turbo8_2.0.3-0ubuntu1_s390x.deb ... Unpacking libjpeg-turbo8:s390x (2.0.3-0ubuntu1) ... Selecting previously unselected package libjpeg8:s390x. Preparing to unpack .../068-libjpeg8_8c-2ubuntu8_s390x.deb ... Unpacking libjpeg8:s390x (8c-2ubuntu8) ... Selecting previously unselected package liblcms2-2:s390x. Preparing to unpack .../069-liblcms2-2_2.9-4_s390x.deb ... Unpacking liblcms2-2:s390x (2.9-4) ... Selecting previously unselected package libopenjp2-7:s390x. Preparing to unpack .../070-libopenjp2-7_2.3.1-1ubuntu4_s390x.deb ... Unpacking libopenjp2-7:s390x (2.3.1-1ubuntu4) ... Selecting previously unselected package libpaper1:s390x. Preparing to unpack .../071-libpaper1_1.1.28_s390x.deb ... Unpacking libpaper1:s390x (1.1.28) ... Selecting previously unselected package libjbig0:s390x. Preparing to unpack .../072-libjbig0_2.1-3.1build1_s390x.deb ... Unpacking libjbig0:s390x (2.1-3.1build1) ... Selecting previously unselected package libwebp6:s390x. Preparing to unpack .../073-libwebp6_0.6.1-2_s390x.deb ... Unpacking libwebp6:s390x (0.6.1-2) ... Selecting previously unselected package libtiff5:s390x. Preparing to unpack .../074-libtiff5_4.1.0+git191117-2_s390x.deb ... Unpacking libtiff5:s390x (4.1.0+git191117-2) ... Selecting previously unselected package libgs9:s390x. Preparing to unpack .../075-libgs9_9.50~dfsg-5ubuntu3_s390x.deb ... Unpacking libgs9:s390x (9.50~dfsg-5ubuntu3) ... Selecting previously unselected package ghostscript. Preparing to unpack .../076-ghostscript_9.50~dfsg-5ubuntu3_s390x.deb ... Unpacking ghostscript (9.50~dfsg-5ubuntu3) ... Selecting previously unselected package libnetpbm10. Preparing to unpack .../077-libnetpbm10_2%3a10.0-15.3build1_s390x.deb ... Unpacking libnetpbm10 (2:10.0-15.3build1) ... Selecting previously unselected package netpbm. Preparing to unpack .../078-netpbm_2%3a10.0-15.3build1_s390x.deb ... Unpacking netpbm (2:10.0-15.3build1) ... Selecting previously unselected package libpaper-utils. Preparing to unpack .../079-libpaper-utils_1.1.28_s390x.deb ... Unpacking libpaper-utils (1.1.28) ... Selecting previously unselected package libkpathsea6:s390x. Preparing to unpack .../080-libkpathsea6_2019.20190605.51237-3build1_s390x.deb ... Unpacking libkpathsea6:s390x (2019.20190605.51237-3build1) ... Selecting previously unselected package libptexenc1:s390x. Preparing to unpack .../081-libptexenc1_2019.20190605.51237-3build1_s390x.deb ... Unpacking libptexenc1:s390x (2019.20190605.51237-3build1) ... Selecting previously unselected package libsynctex2:s390x. Preparing to unpack .../082-libsynctex2_2019.20190605.51237-3build1_s390x.deb ... Unpacking libsynctex2:s390x (2019.20190605.51237-3build1) ... Selecting previously unselected package libtexlua53:s390x. Preparing to unpack .../083-libtexlua53_2019.20190605.51237-3build1_s390x.deb ... Unpacking libtexlua53:s390x (2019.20190605.51237-3build1) ... Selecting previously unselected package t1utils. Preparing to unpack .../084-t1utils_1.41-3_s390x.deb ... Unpacking t1utils (1.41-3) ... Selecting previously unselected package libpixman-1-0:s390x. Preparing to unpack .../085-libpixman-1-0_0.38.4-0ubuntu1_s390x.deb ... Unpacking libpixman-1-0:s390x (0.38.4-0ubuntu1) ... Selecting previously unselected package libxcb-render0:s390x. Preparing to unpack .../086-libxcb-render0_1.13.1-5build1_s390x.deb ... Unpacking libxcb-render0:s390x (1.13.1-5build1) ... Selecting previously unselected package libxcb-shm0:s390x. Preparing to unpack .../087-libxcb-shm0_1.13.1-5build1_s390x.deb ... Unpacking libxcb-shm0:s390x (1.13.1-5build1) ... Selecting previously unselected package libxrender1:s390x. Preparing to unpack .../088-libxrender1_1%3a0.9.10-1_s390x.deb ... Unpacking libxrender1:s390x (1:0.9.10-1) ... Selecting previously unselected package libcairo2:s390x. Preparing to unpack .../089-libcairo2_1.16.0-4ubuntu1_s390x.deb ... Unpacking libcairo2:s390x (1.16.0-4ubuntu1) ... Selecting previously unselected package libgraphite2-3:s390x. Preparing to unpack .../090-libgraphite2-3_1.3.13-11_s390x.deb ... Unpacking libgraphite2-3:s390x (1.3.13-11) ... Selecting previously unselected package libharfbuzz0b:s390x. Preparing to unpack .../091-libharfbuzz0b_2.6.4-1ubuntu2_s390x.deb ... Unpacking libharfbuzz0b:s390x (2.6.4-1ubuntu2) ... Selecting previously unselected package libharfbuzz-icu0:s390x. Preparing to unpack .../092-libharfbuzz-icu0_2.6.4-1ubuntu2_s390x.deb ... Unpacking libharfbuzz-icu0:s390x (2.6.4-1ubuntu2) ... Selecting previously unselected package libteckit0:s390x. Preparing to unpack .../093-libteckit0_2.5.8+ds2-5ubuntu1_s390x.deb ... Unpacking libteckit0:s390x (2.5.8+ds2-5ubuntu1) ... Selecting previously unselected package x11-common. Preparing to unpack .../094-x11-common_1%3a7.7+19ubuntu14_all.deb ... dpkg-query: no packages found matching nux-tools Unpacking x11-common (1:7.7+19ubuntu14) ... Selecting previously unselected package libice6:s390x. Preparing to unpack .../095-libice6_2%3a1.0.10-0ubuntu1_s390x.deb ... Unpacking libice6:s390x (2:1.0.10-0ubuntu1) ... Selecting previously unselected package libsm6:s390x. Preparing to unpack .../096-libsm6_2%3a1.2.3-1_s390x.deb ... Unpacking libsm6:s390x (2:1.2.3-1) ... Selecting previously unselected package libxt6:s390x. Preparing to unpack .../097-libxt6_1%3a1.1.5-1_s390x.deb ... Unpacking libxt6:s390x (1:1.1.5-1) ... Selecting previously unselected package libxmu6:s390x. Preparing to unpack .../098-libxmu6_2%3a1.1.3-0ubuntu1_s390x.deb ... Unpacking libxmu6:s390x (2:1.1.3-0ubuntu1) ... Selecting previously unselected package libxpm4:s390x. Preparing to unpack .../099-libxpm4_1%3a3.5.12-1_s390x.deb ... Unpacking libxpm4:s390x (1:3.5.12-1) ... Selecting previously unselected package libxaw7:s390x. Preparing to unpack .../100-libxaw7_2%3a1.0.13-1_s390x.deb ... Unpacking libxaw7:s390x (2:1.0.13-1) ... Selecting previously unselected package libxi6:s390x. Preparing to unpack .../101-libxi6_2%3a1.7.10-0ubuntu1_s390x.deb ... Unpacking libxi6:s390x (2:1.7.10-0ubuntu1) ... Selecting previously unselected package libzzip-0-13:s390x. Preparing to unpack .../102-libzzip-0-13_0.13.62-3.2_s390x.deb ... Unpacking libzzip-0-13:s390x (0.13.62-3.2) ... Selecting previously unselected package texlive-binaries. Preparing to unpack .../103-texlive-binaries_2019.20190605.51237-3build1_s390x.deb ... Unpacking texlive-binaries (2019.20190605.51237-3build1) ... Selecting previously unselected package xdg-utils. Preparing to unpack .../104-xdg-utils_1.1.3-1ubuntu2_all.deb ... Unpacking xdg-utils (1.1.3-1ubuntu2) ... Selecting previously unselected package texlive-base. Preparing to unpack .../105-texlive-base_2019.20200218-1_all.deb ... Unpacking texlive-base (2019.20200218-1) ... Selecting previously unselected package hevea. Preparing to unpack .../106-hevea_2.32-3build1_all.deb ... Unpacking hevea (2.32-3build1) ... Selecting previously unselected package texlive-latex-base. Preparing to unpack .../107-texlive-latex-base_2019.20200218-1_all.deb ... Unpacking texlive-latex-base (2019.20200218-1) ... Selecting previously unselected package latexmk. Preparing to unpack .../108-latexmk_1%3a4.67-0.1_all.deb ... Unpacking latexmk (1:4.67-0.1) ... Selecting previously unselected package libapache-pom-java. Preparing to unpack .../109-libapache-pom-java_18-1_all.deb ... Unpacking libapache-pom-java (18-1) ... Selecting previously unselected package libcommons-parent-java. Preparing to unpack .../110-libcommons-parent-java_43-1_all.deb ... Unpacking libcommons-parent-java (43-1) ... Selecting previously unselected package libcommons-logging-java. Preparing to unpack .../111-libcommons-logging-java_1.2-2_all.deb ... Unpacking libcommons-logging-java (1.2-2) ... Selecting previously unselected package libexpat1-dev:s390x. Preparing to unpack .../112-libexpat1-dev_2.2.9-1_s390x.deb ... Unpacking libexpat1-dev:s390x (2.2.9-1) ... Selecting previously unselected package libfindlib-ocaml. Preparing to unpack .../113-libfindlib-ocaml_1.8.1-1build3_s390x.deb ... Unpacking libfindlib-ocaml (1.8.1-1build3) ... Selecting previously unselected package libmenhir-ocaml-dev. Preparing to unpack .../114-libmenhir-ocaml-dev_20200123-1_s390x.deb ... Unpacking libmenhir-ocaml-dev (20200123-1) ... Selecting previously unselected package libnum-ocaml. Preparing to unpack .../115-libnum-ocaml_1.3-1_s390x.deb ... Unpacking libnum-ocaml (1.3-1) ... Selecting previously unselected package libnum-ocaml-dev. Preparing to unpack .../116-libnum-ocaml-dev_1.3-1_s390x.deb ... Unpacking libnum-ocaml-dev (1.3-1) ... Selecting previously unselected package libparmap-ocaml. Preparing to unpack .../117-libparmap-ocaml_1.1.1-2_s390x.deb ... Unpacking libparmap-ocaml (1.1.1-2) ... Selecting previously unselected package libparmap-ocaml-dev. Preparing to unpack .../118-libparmap-ocaml-dev_1.1.1-2_s390x.deb ... Unpacking libparmap-ocaml-dev (1.1.1-2) ... Selecting previously unselected package libpcre-ocaml. Preparing to unpack .../119-libpcre-ocaml_7.4.3-1_s390x.deb ... Unpacking libpcre-ocaml (7.4.3-1) ... Selecting previously unselected package libpcre16-3:s390x. Preparing to unpack .../120-libpcre16-3_2%3a8.39-12_s390x.deb ... Unpacking libpcre16-3:s390x (2:8.39-12) ... Selecting previously unselected package libpcre32-3:s390x. Preparing to unpack .../121-libpcre32-3_2%3a8.39-12_s390x.deb ... Unpacking libpcre32-3:s390x (2:8.39-12) ... Selecting previously unselected package libpcrecpp0v5:s390x. Preparing to unpack .../122-libpcrecpp0v5_2%3a8.39-12_s390x.deb ... Unpacking libpcrecpp0v5:s390x (2:8.39-12) ... Selecting previously unselected package libpcre3-dev:s390x. Preparing to unpack .../123-libpcre3-dev_2%3a8.39-12_s390x.deb ... Unpacking libpcre3-dev:s390x (2:8.39-12) ... Selecting previously unselected package ocaml-findlib. Preparing to unpack .../124-ocaml-findlib_1.8.1-1build3_s390x.deb ... Unpacking ocaml-findlib (1.8.1-1build3) ... Selecting previously unselected package libpcre-ocaml-dev. Preparing to unpack .../125-libpcre-ocaml-dev_7.4.3-1_s390x.deb ... Unpacking libpcre-ocaml-dev (7.4.3-1) ... Selecting previously unselected package libpython2.7:s390x. Preparing to unpack .../126-libpython2.7_2.7.17-1ubuntu5_s390x.deb ... Unpacking libpython2.7:s390x (2.7.17-1ubuntu5) ... Selecting previously unselected package libpycaml-ocaml. Preparing to unpack .../127-libpycaml-ocaml_0.82-15ubuntu4_s390x.deb ... Unpacking libpycaml-ocaml (0.82-15ubuntu4) ... Selecting previously unselected package libpython2.7-dev:s390x. Preparing to unpack .../128-libpython2.7-dev_2.7.17-1ubuntu5_s390x.deb ... Unpacking libpython2.7-dev:s390x (2.7.17-1ubuntu5) ... Selecting previously unselected package libpython2-dev:s390x. Preparing to unpack .../129-libpython2-dev_2.7.17-2ubuntu3_s390x.deb ... Unpacking libpython2-dev:s390x (2.7.17-2ubuntu3) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../130-python2.7-dev_2.7.17-1ubuntu5_s390x.deb ... Unpacking python2.7-dev (2.7.17-1ubuntu5) ... Selecting previously unselected package python2-dev. Preparing to unpack .../131-python2-dev_2.7.17-2ubuntu3_s390x.deb ... Unpacking python2-dev (2.7.17-2ubuntu3) ... Selecting previously unselected package libpycaml-ocaml-dev. Preparing to unpack .../132-libpycaml-ocaml-dev_0.82-15ubuntu4_s390x.deb ... Unpacking libpycaml-ocaml-dev (0.82-15ubuntu4) ... Selecting previously unselected package menhir. Preparing to unpack .../133-menhir_20200123-1_s390x.deb ... Unpacking menhir (20200123-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../134-pkg-config_0.29.1-0ubuntu4_s390x.deb ... Unpacking pkg-config (0.29.1-0ubuntu4) ... Selecting previously unselected package preview-latex-style. Preparing to unpack .../135-preview-latex-style_11.91-2ubuntu1_all.deb ... Unpacking preview-latex-style (11.91-2ubuntu1) ... Selecting previously unselected package texlive-fonts-extra. Preparing to unpack .../136-texlive-fonts-extra_2019.202000218-1_all.deb ... Unpacking texlive-fonts-extra (2019.202000218-1) ... Selecting previously unselected package texlive-fonts-recommended. Preparing to unpack .../137-texlive-fonts-recommended_2019.20200218-1_all.deb ... Unpacking texlive-fonts-recommended (2019.20200218-1) ... Selecting previously unselected package libfontbox-java. Preparing to unpack .../138-libfontbox-java_1%3a1.8.16-2_all.deb ... Unpacking libfontbox-java (1:1.8.16-2) ... Selecting previously unselected package libpdfbox-java. Preparing to unpack .../139-libpdfbox-java_1%3a1.8.16-2_all.deb ... Unpacking libpdfbox-java (1:1.8.16-2) ... Selecting previously unselected package texlive-latex-recommended. Preparing to unpack .../140-texlive-latex-recommended_2019.20200218-1_all.deb ... Unpacking texlive-latex-recommended (2019.20200218-1) ... Selecting previously unselected package texlive-pictures. Preparing to unpack .../141-texlive-pictures_2019.20200218-1_all.deb ... Unpacking texlive-pictures (2019.20200218-1) ... Selecting previously unselected package texlive-latex-extra. Preparing to unpack .../142-texlive-latex-extra_2019.202000218-1_all.deb ... Unpacking texlive-latex-extra (2019.202000218-1) ... Selecting previously unselected package dh-ocaml. Preparing to unpack .../143-dh-ocaml_1.1.1_all.deb ... Unpacking dh-ocaml (1.1.1) ... Selecting previously unselected package sbuild-build-depends-coccinelle-dummy. Preparing to unpack .../144-sbuild-build-depends-coccinelle-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-coccinelle-dummy (0.invalid.0) ... Setting up libpcrecpp0v5:s390x (2:8.39-12) ... Setting up libpipeline1:s390x (1.5.2-2build1) ... Setting up libgraphite2-3:s390x (1.3.13-11) ... Setting up liblcms2-2:s390x (2.9-4) ... Setting up libpixman-1-0:s390x (0.38.4-0ubuntu1) ... Setting up libxau6:s390x (1:1.0.9-0ubuntu1) ... Setting up libkeyutils1:s390x (1.6-6ubuntu1) ... Setting up libncurses-dev:s390x (6.1+20191019-1ubuntu1) ... Setting up mime-support (3.64ubuntu1) ... Setting up libpcre16-3:s390x (2:8.39-12) ... Setting up libmagic-mgc (1:5.38-4) ... Setting up libtexlua53:s390x (2019.20190605.51237-3build1) ... Setting up libarchive-zip-perl (1.67-1) ... Setting up libglib2.0-0:s390x (2.63.5-2) ... No schema files found: doing nothing. Setting up libijs-0.35:s390x (0.35-15) ... Setting up libdebhelper-perl (12.9ubuntu1) ... Setting up libfontbox-java (1:1.8.16-2) ... Setting up x11-common (1:7.7+19ubuntu14) ... 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 dh-ocaml (1.1.1) ... Setting up libicu65:s390x (65.1-1ubuntu2) ... Setting up libmagic1:s390x (1:5.38-4) ... Setting up gettext-base (0.19.8.1-10) ... Setting up libzzip-0-13:s390x (0.13.62-3.2) ... Setting up file (1:5.38-4) ... Setting up libnetpbm10 (2:10.0-15.3build1) ... Setting up fonts-urw-base35 (20170801.1-3) ... Setting up libjbig0:s390x (2.1-3.1build1) ... Setting up poppler-data (0.4.9-2) ... Setting up libkrb5support0:s390x (1.17-6ubuntu4) ... Setting up libpython2.7-stdlib:s390x (2.7.17-1ubuntu5) ... Setting up autotools-dev (20180224.1) ... Setting up libexpat1-dev:s390x (2.2.9-1) ... Setting up libfreetype6:s390x (2.10.1-2) ... Setting up libx11-data (2:1.6.8-1) ... Setting up libjbig2dec0:s390x (0.17-1) ... Setting up libidn11:s390x (1.33-2.2ubuntu2) ... Setting up libteckit0:s390x (2.5.8+ds2-5ubuntu1) ... Setting up libapache-pom-java (18-1) ... Setting up libavahi-common-data:s390x (0.7-4ubuntu6) ... Setting up libdbus-1-3:s390x (1.12.16-2ubuntu2) ... Setting up libsigsegv2:s390x (2.12-2) ... Setting up t1utils (1.41-3) ... Setting up libpcre32-3:s390x (2:8.39-12) ... Setting up autopoint (0.19.8.1-10) ... Setting up libwebp6:s390x (0.6.1-2) ... Setting up pkg-config (0.29.1-0ubuntu4) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up ucf (3.0038+nmu1) ... Setting up libk5crypto3:s390x (1.17-6ubuntu4) ... Setting up libjpeg-turbo8:s390x (2.0.3-0ubuntu1) ... Setting up libkpathsea6:s390x (2019.20190605.51237-3build1) ... Setting up libuchardet0:s390x (0.0.6-3) ... Setting up libncurses5-dev:s390x (6.1+20191019-1ubuntu1) ... Setting up fonts-lmodern (2.004.5-6) ... Setting up libopenjp2-7:s390x (2.3.1-1ubuntu4) ... Setting up libsub-override-perl (0.09-2) ... Setting up libharfbuzz0b:s390x (2.6.4-1ubuntu2) ... Setting up libkrb5-3:s390x (1.17-6ubuntu4) ... Setting up ocaml-base-nox (4.08.1-8) ... Setting up libmpdec2:s390x (2.4.2-2) ... Setting up libpython3.8-stdlib:s390x (3.8.2~rc2-2) ... Setting up python3.8 (3.8.2~rc2-2) ... Setting up libbsd0:s390x (0.10.0-1) ... Setting up libparmap-ocaml (1.1.1-2) ... Setting up libelf1:s390x (0.176-1.1build1) ... Setting up libxml2:s390x (2.9.10+dfsg-1ubuntu3) ... Setting up xdg-utils (1.1.3-1ubuntu2) ... Setting up menhir (20200123-1) ... Setting up libsynctex2:s390x (2019.20190605.51237-3build1) ... Setting up libpython3-stdlib:s390x (3.8.0-3ubuntu1) ... Setting up libjpeg8:s390x (8c-2ubuntu8) ... Setting up libgs9-common (9.50~dfsg-5ubuntu3) ... Setting up libfile-stripnondeterminism-perl (1.6.3-2) ... Setting up libpaper1:s390x (1.1.28) ... Creating config file /etc/papersize with new version Setting up libice6:s390x (2:1.0.10-0ubuntu1) ... Setting up libxdmcp6:s390x (1:1.1.3-0ubuntu1) ... Setting up libpython2.7:s390x (2.7.17-1ubuntu5) ... Setting up libpython2.7-dev:s390x (2.7.17-1ubuntu5) ... Setting up libxcb1:s390x (1.13.1-5build1) ... Setting up libharfbuzz-icu0:s390x (2.6.4-1ubuntu2) ... Setting up libpdfbox-java (1:1.8.16-2) ... Setting up python2.7 (2.7.17-1ubuntu5) ... Setting up libtool (2.4.6-13) ... Setting up libpython2-stdlib:s390x (2.7.17-2ubuntu3) ... Setting up libxcb-render0:s390x (1.13.1-5build1) ... Setting up libpcre3-dev:s390x (2:8.39-12) ... Setting up fontconfig-config (2.13.1-2ubuntu2) ... Setting up libcommons-parent-java (43-1) ... Setting up libavahi-common3:s390x (0.7-4ubuntu6) ... Setting up libfindlib-ocaml (1.8.1-1build3) ... Setting up libcommons-logging-java (1.2-2) ... Setting up m4 (1.4.18-4) ... Setting up python3 (3.8.0-3ubuntu1) ... /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdin = io.open(p2cwrite, 'wb', bufsize) /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdin = io.open(p2cwrite, 'wb', bufsize) Setting up libxcb-shm0:s390x (1.13.1-5build1) ... Setting up libpaper-utils (1.1.28) ... Setting up python2 (2.7.17-2ubuntu3) ... Setting up tex-common (6.13) ... update-language: texlive-base not installed and configured, doing nothing! Setting up libptexenc1:s390x (2019.20190605.51237-3build1) ... 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 ocaml-findlib (1.8.1-1build3) ... Setting up libgssapi-krb5-2:s390x (1.17-6ubuntu4) ... Setting up libcroco3:s390x (0.6.13-1) ... Setting up autoconf (2.69-11.1) ... Setting up libpcre-ocaml (7.4.3-1) ... Setting up dh-strip-nondeterminism (1.6.3-2) ... Setting up libnum-ocaml (1.3-1) ... Setting up dwz (0.13-5) ... Setting up groff-base (1.22.4-4) ... Setting up libx11-6:s390x (2:1.6.8-1) ... Setting up libpython2-dev:s390x (2.7.17-2ubuntu3) ... Setting up libtiff5:s390x (4.1.0+git191117-2) ... Setting up libfontconfig1:s390x (2.13.1-2ubuntu2) ... Setting up libpycaml-ocaml (0.82-15ubuntu4) ... Setting up python3-lib2to3 (3.8.0-1ubuntu1) ... Setting up libsm6:s390x (2:1.2.3-1) ... Setting up libavahi-client3:s390x (0.7-4ubuntu6) ... Setting up python2.7-dev (2.7.17-1ubuntu5) ... Setting up automake (1:1.16.1-4ubuntu6) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up python3-distutils (3.8.0-1ubuntu1) ... Setting up dh-python (4.20191017ubuntu7) ... /usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used self.stdin = io.open(p2cwrite, 'wb', bufsize) Setting up gettext (0.19.8.1-10) ... Setting up python2-dev (2.7.17-2ubuntu3) ... Setting up libxpm4:s390x (1:3.5.12-1) ... Setting up libxrender1:s390x (1:0.9.10-1) ... Setting up preview-latex-style (11.91-2ubuntu1) ... Setting up libxext6:s390x (2:1.3.4-0ubuntu1) ... Setting up man-db (2.9.0-2) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up libcairo2:s390x (1.16.0-4ubuntu1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up netpbm (2:10.0-15.3build1) ... Setting up libxt6:s390x (1:1.1.5-1) ... Setting up libcups2:s390x (2.3.1-9ubuntu1) ... Setting up libxmu6:s390x (2:1.1.3-0ubuntu1) ... Setting up libgs9:s390x (9.50~dfsg-5ubuntu3) ... Setting up libxi6:s390x (2:1.7.10-0ubuntu1) ... Setting up po-debconf (1.0.21) ... Setting up libxaw7:s390x (2:1.0.13-1) ... Setting up ghostscript (9.50~dfsg-5ubuntu3) ... Setting up texlive-binaries (2019.20190605.51237-3build1) ... 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 (2019.20200218-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 Setting up texlive-latex-base (2019.20200218-1) ... Setting up texlive-fonts-extra (2019.202000218-1) ... Setting up texlive-latex-recommended (2019.20200218-1) ... Setting up hevea (2.32-3build1) ... Setting up texlive-pictures (2019.20200218-1) ... Setting up texlive-fonts-recommended (2019.20200218-1) ... Setting up latexmk (1:4.67-0.1) ... Setting up texlive-latex-extra (2019.202000218-1) ... Setting up ocaml-compiler-libs (4.08.1-8) ... Setting up debhelper (12.9ubuntu1) ... Setting up dh-autoreconf (19) ... Setting up ocaml-interp (4.08.1-8) ... Setting up ocaml-nox (4.08.1-8) ... Setting up libnum-ocaml-dev (1.3-1) ... Setting up libcamlp4-ocaml-dev (4.08+1-1) ... Setting up camlp4 (4.08+1-1) ... Setting up libpycaml-ocaml-dev (0.82-15ubuntu4) ... Setting up libmenhir-ocaml-dev (20200123-1) ... Setting up libparmap-ocaml-dev (1.1.1-2) ... Setting up libpcre-ocaml-dev (7.4.3-1) ... Setting up sbuild-build-depends-coccinelle-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.30-0ubuntu3) ... Processing triggers for systemd (244.2-1ubuntu1) ... Processing triggers for tex-common (6.13) ... 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-174-generic s390x (s390x) Toolchain package versions: binutils_2.34-3ubuntu1 dpkg-dev_1.19.7ubuntu2 g++-9_9.2.1-29ubuntu1 gcc-9_9.2.1-29ubuntu1 libc6-dev_2.30-0ubuntu3 libstdc++-9-dev_9.2.1-29ubuntu1 libstdc++6_10-20200222-1ubuntu1 linux-libc-dev_5.4.0-15.18 Package versions: adduser_3.118ubuntu1 advancecomp_2.1-2.1 apt_1.9.10 autoconf_2.69-11.1 automake_1:1.16.1-4ubuntu6 autopoint_0.19.8.1-10 autotools-dev_20180224.1 base-files_11ubuntu2 base-passwd_3.5.47 bash_5.0-5ubuntu1 binutils_2.34-3ubuntu1 binutils-common_2.34-3ubuntu1 binutils-s390x-linux-gnu_2.34-3ubuntu1 bsdmainutils_11.1.2ubuntu2 bsdutils_1:2.34-0.1ubuntu7 build-essential_12.8ubuntu1 bzip2_1.0.8-2 ca-certificates_20190110 camlp4_4.08+1-1 coreutils_8.30-3ubuntu2 cpp_4:9.2.1-3.1ubuntu1 cpp-9_9.2.1-29ubuntu1 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.9ubuntu1 debianutils_4.9.1 dh-autoreconf_19 dh-ocaml_1.1.1 dh-python_4.20191017ubuntu7 dh-strip-nondeterminism_1.6.3-2 diffutils_1:3.7-3 dpkg_1.19.7ubuntu2 dpkg-dev_1.19.7ubuntu2 dwz_0.13-5 e2fsprogs_1.45.5-2ubuntu1 fakeroot_1.24-1 fdisk_2.34-0.1ubuntu7 file_1:5.38-4 findutils_4.7.0-1ubuntu1 fontconfig-config_2.13.1-2ubuntu2 fonts-dejavu-core_2.37-1 fonts-lmodern_2.004.5-6 fonts-urw-base35_20170801.1-3 g++_4:9.2.1-3.1ubuntu1 g++-9_9.2.1-29ubuntu1 gcc_4:9.2.1-3.1ubuntu1 gcc-10-base_10-20200222-1ubuntu1 gcc-9_9.2.1-29ubuntu1 gcc-9-base_9.2.1-29ubuntu1 gettext_0.19.8.1-10 gettext-base_0.19.8.1-10 ghostscript_9.50~dfsg-5ubuntu3 gpg_2.2.17-3ubuntu1 gpg-agent_2.2.17-3ubuntu1 gpgconf_2.2.17-3ubuntu1 gpgv_2.2.17-3ubuntu1 grep_3.4-1 groff-base_1.22.4-4 gzip_1.10-0ubuntu4 hevea_2.32-3build1 hostname_3.23 init_1.57 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 latexmk_1:4.67-0.1 libacl1_2.2.53-5ubuntu1 libapache-pom-java_18-1 libapparmor1_2.13.3-7ubuntu2 libapt-pkg5.90_1.9.10 libarchive-zip-perl_1.67-1 libargon2-1_0~20171227-0.2 libasan5_9.2.1-29ubuntu1 libassuan0_2.5.3-7ubuntu2 libatomic1_10-20200222-1ubuntu1 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2ubuntu6 libaudit1_1:2.8.5-2ubuntu6 libavahi-client3_0.7-4ubuntu6 libavahi-common-data_0.7-4ubuntu6 libavahi-common3_0.7-4ubuntu6 libbinutils_2.34-3ubuntu1 libblkid1_2.34-0.1ubuntu7 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.30-0ubuntu3 libc-dev-bin_2.30-0ubuntu3 libc6_2.30-0ubuntu3 libc6-dev_2.30-0ubuntu3 libcairo2_1.16.0-4ubuntu1 libcamlp4-ocaml-dev_4.08+1-1 libcap-ng0_0.7.9-2.1build1 libcap2_1:2.32-1 libcc1-0_10-20200222-1ubuntu1 libcom-err2_1.45.5-2ubuntu1 libcommons-logging-java_1.2-2 libcommons-parent-java_43-1 libcroco3_0.6.13-1 libcryptsetup12_2:2.2.2-3ubuntu1 libctf-nobfd0_2.34-3ubuntu1 libctf0_2.34-3ubuntu1 libcups2_2.3.1-9ubuntu1 libdb5.3_5.3.28+dfsg1-0.6ubuntu1 libdbus-1-3_1.12.16-2ubuntu2 libdebconfclient0_0.251ubuntu1 libdebhelper-perl_12.9ubuntu1 libdevmapper1.02.1_2:1.02.167-1ubuntu1 libdpkg-perl_1.19.7ubuntu2 libelf1_0.176-1.1build1 libexpat1_2.2.9-1 libexpat1-dev_2.2.9-1 libext2fs2_1.45.5-2ubuntu1 libfakeroot_1.24-1 libfdisk1_2.34-0.1ubuntu7 libffi6_3.2.1-9 libffi7_3.3-3 libfile-stripnondeterminism-perl_1.6.3-2 libfindlib-ocaml_1.8.1-1build3 libfontbox-java_1:1.8.16-2 libfontconfig1_2.13.1-2ubuntu2 libfreetype6_2.10.1-2 libgcc-9-dev_9.2.1-29ubuntu1 libgcc-s1_10-20200222-1ubuntu1 libgcc1_1:10-20200222-1ubuntu1 libgcrypt20_1.8.5-5ubuntu1 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.63.5-2 libgmp10_2:6.2.0+dfsg-4 libgnutls30_3.6.11.1-2ubuntu2 libgomp1_10-20200222-1ubuntu1 libgpg-error0_1.37-1 libgraphite2-3_1.3.13-11 libgs9_9.50~dfsg-5ubuntu3 libgs9-common_9.50~dfsg-5ubuntu3 libgssapi-krb5-2_1.17-6ubuntu4 libharfbuzz-icu0_2.6.4-1ubuntu2 libharfbuzz0b_2.6.4-1ubuntu2 libhogweed4_3.4.1-1 libhogweed5_3.5.1+really3.5.1-2 libice6_2:1.0.10-0ubuntu1 libicu65_65.1-1ubuntu2 libidn11_1.33-2.2ubuntu2 libidn2-0_2.2.0-2 libijs-0.35_0.35-15 libip4tc2_1.8.4-3ubuntu1 libisl21_0.21-2 libisl22_0.22.1-1 libitm1_10-20200222-1ubuntu1 libjbig0_2.1-3.1build1 libjbig2dec0_0.17-1 libjpeg-turbo8_2.0.3-0ubuntu1 libjpeg8_8c-2ubuntu8 libjson-c4_0.13.1+dfsg-7 libk5crypto3_1.17-6ubuntu4 libkeyutils1_1.6-6ubuntu1 libkmod2_27-1ubuntu1 libkpathsea6_2019.20190605.51237-3build1 libkrb5-3_1.17-6ubuntu4 libkrb5support0_1.17-6ubuntu4 liblcms2-2_2.9-4 liblockfile-bin_1.16-1.1 liblockfile1_1.16-1.1 liblz4-1_1.9.2-2 liblzma5_5.2.4-1 libmagic-mgc_1:5.38-4 libmagic1_1:5.38-4 libmenhir-ocaml-dev_20200123-1 libmount1_2.34-0.1ubuntu7 libmpc3_1.1.0-1 libmpdec2_2.4.2-2 libmpfr6_4.0.2-1 libncurses-dev_6.1+20191019-1ubuntu1 libncurses5-dev_6.1+20191019-1ubuntu1 libncurses6_6.1+20191019-1ubuntu1 libncursesw6_6.1+20191019-1ubuntu1 libnetpbm10_2:10.0-15.3build1 libnettle6_3.4.1-1 libnettle7_3.5.1+really3.5.1-2 libnpth0_1.6-1 libnum-ocaml_1.3-1 libnum-ocaml-dev_1.3-1 libopenjp2-7_2.3.1-1ubuntu4 libp11-kit0_0.23.20-1build1 libpam-modules_1.3.1-5ubuntu4 libpam-modules-bin_1.3.1-5ubuntu4 libpam-runtime_1.3.1-5ubuntu4 libpam0g_1.3.1-5ubuntu4 libpaper-utils_1.1.28 libpaper1_1.1.28 libparmap-ocaml_1.1.1-2 libparmap-ocaml-dev_1.1.1-2 libpcre-ocaml_7.4.3-1 libpcre-ocaml-dev_7.4.3-1 libpcre16-3_2:8.39-12 libpcre2-8-0_10.34-7 libpcre3_2:8.39-12 libpcre3-dev_2:8.39-12 libpcre32-3_2:8.39-12 libpcrecpp0v5_2:8.39-12 libpdfbox-java_1:1.8.16-2 libperl5.28_5.28.1-6build1 libperl5.30_5.30.0-9 libpipeline1_1.5.2-2build1 libpixman-1-0_0.38.4-0ubuntu1 libpng16-16_1.6.37-2 libprocps7_2:3.3.15-2ubuntu3 libprocps8_2:3.3.16-1ubuntu1 libptexenc1_2019.20190605.51237-3build1 libpycaml-ocaml_0.82-15ubuntu4 libpycaml-ocaml-dev_0.82-15ubuntu4 libpython2-dev_2.7.17-2ubuntu3 libpython2-stdlib_2.7.17-2ubuntu3 libpython2.7_2.7.17-1ubuntu5 libpython2.7-dev_2.7.17-1ubuntu5 libpython2.7-minimal_2.7.17-1ubuntu5 libpython2.7-stdlib_2.7.17-1ubuntu5 libpython3-stdlib_3.8.0-3ubuntu1 libpython3.8-minimal_3.8.2~rc2-2 libpython3.8-stdlib_3.8.2~rc2-2 libreadline8_8.0-3 libseccomp2_2.4.2-2ubuntu3 libselinux1_3.0-1build1 libsemanage-common_3.0-1build1 libsemanage1_3.0-1build1 libsepol1_3.0-1 libsigsegv2_2.12-2 libsm6_2:1.2.3-1 libsmartcols1_2.34-0.1ubuntu7 libsqlite3-0_3.31.1-1ubuntu1 libss2_1.45.5-2ubuntu1 libssl1.1_1.1.1d-2ubuntu3 libstdc++-9-dev_9.2.1-29ubuntu1 libstdc++6_10-20200222-1ubuntu1 libsub-override-perl_0.09-2 libsynctex2_2019.20190605.51237-3build1 libsystemd0_244.2-1ubuntu1 libtasn1-6_4.16.0-2 libteckit0_2.5.8+ds2-5ubuntu1 libtexlua53_2019.20190605.51237-3build1 libtiff5_4.1.0+git191117-2 libtinfo6_6.1+20191019-1ubuntu1 libtool_2.4.6-13 libubsan1_10-20200222-1ubuntu1 libuchardet0_0.0.6-3 libudev1_244.2-1ubuntu1 libunistring2_0.9.10-2 libuuid1_2.34-0.1ubuntu7 libwebp6_0.6.1-2 libx11-6_2:1.6.8-1 libx11-data_2:1.6.8-1 libxau6_1:1.0.9-0ubuntu1 libxaw7_2:1.0.13-1 libxcb-render0_1.13.1-5build1 libxcb-shm0_1.13.1-5build1 libxcb1_1.13.1-5build1 libxdmcp6_1:1.1.3-0ubuntu1 libxext6_2:1.3.4-0ubuntu1 libxi6_2:1.7.10-0ubuntu1 libxml2_2.9.10+dfsg-1ubuntu3 libxmu6_2:1.1.3-0ubuntu1 libxpm4_1:3.5.12-1 libxrender1_1:0.9.10-1 libxt6_1:1.1.5-1 libzstd1_1.4.4+dfsg-3 libzzip-0-13_0.13.62-3.2 linux-libc-dev_5.4.0-15.18 lockfile-progs_0.1.18 login_1:4.8.1-1ubuntu1 logsave_1.45.5-2ubuntu1 lsb-base_11.1.0ubuntu2 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.0-2 mawk_1.3.4.20200120-2 menhir_20200123-1 mime-support_3.64ubuntu1 mount_2.34-0.1ubuntu7 ncurses-base_6.1+20191019-1ubuntu1 ncurses-bin_6.1+20191019-1ubuntu1 netpbm_2:10.0-15.3build1 ocaml-base-nox_4.08.1-8 ocaml-compiler-libs_4.08.1-8 ocaml-findlib_1.8.1-1build3 ocaml-interp_4.08.1-8 ocaml-nox_4.08.1-8 openssl_1.1.1d-2ubuntu3 optipng_0.7.7-1 passwd_1:4.8.1-1ubuntu1 patch_2.7.6-6 perl_5.30.0-9 perl-base_5.30.0-9 perl-modules-5.28_5.28.1-6build1 perl-modules-5.30_5.30.0-9 pinentry-curses_1.1.0-3 pkg-config_0.29.1-0ubuntu4 pkgbinarymangler_144 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 poppler-data_0.4.9-2 preview-latex-style_11.91-2ubuntu1 procps_2:3.3.16-1ubuntu1 python2_2.7.17-2ubuntu3 python2-dev_2.7.17-2ubuntu3 python2-minimal_2.7.17-2ubuntu3 python2.7_2.7.17-1ubuntu5 python2.7-dev_2.7.17-1ubuntu5 python2.7-minimal_2.7.17-1ubuntu5 python3_3.8.0-3ubuntu1 python3-distutils_3.8.0-1ubuntu1 python3-lib2to3_3.8.0-1ubuntu1 python3-minimal_3.8.0-3ubuntu1 python3.8_3.8.2~rc2-2 python3.8-minimal_3.8.2~rc2-2 readline-common_8.0-3 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+nmu1 systemd_244.2-1ubuntu1 systemd-sysv_244.2-1ubuntu1 sysvinit-utils_2.96-2.1ubuntu1 t1utils_1.41-3 tar_1.30+dfsg-6 tex-common_6.13 texlive-base_2019.20200218-1 texlive-binaries_2019.20190605.51237-3build1 texlive-fonts-extra_2019.202000218-1 texlive-fonts-recommended_2019.20200218-1 texlive-latex-base_2019.20200218-1 texlive-latex-extra_2019.202000218-1 texlive-latex-recommended_2019.20200218-1 texlive-pictures_2019.20200218-1 tzdata_2019c-3 ubuntu-keyring_2020.02.11.1 ucf_3.0038+nmu1 util-linux_2.34-0.1ubuntu7 x11-common_1:7.7+19ubuntu14 xdg-utils_1.1.3-1ubuntu2 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1.2ubuntu1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Mon Feb 24 18:45:10 2020 UTC gpgv: using RSA key 92978A6E195E4921825F7FF0F34F09744E9F5DD9 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./coccinelle_1.0.4.deb-5ubuntu1.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-5ubuntu1.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 dpkg-source: info: applying 0005-Fix-compilation-with-safe-string.patch dpkg-source: info: applying 0006-Compile-interfaces-with-opaque.patch dpkg-source: info: applying 0008-Add-missing-.mli-files-to-run-checks-properly.patch dpkg-source: info: applying 0008-Account-for-change-of-type-of-menhirLib.patch 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-18758345 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-18758345 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-18758345 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-5ubuntu1 dpkg-buildpackage: info: source distribution focal dpkg-source --before-build . dpkg-buildpackage: info: host architecture s390x fakeroot debian/rules clean dh clean --with ocaml,python2 --parallel dh: warning: 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: warning: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules build-arch dh build-arch --with ocaml,python2 --parallel dh: warning: 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 Mon, 24 Feb 2020 20:07:01 +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.08.1 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... no checking for python... no checking for python3... /usr/bin/python3 checking python version... 3.8 found configure: python major version: 3 configure: looking for the corresponding python library checking for PYTHON... no configure: trying the default python library as fallback checking for PYTHON... no 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: no (overridable with --enable-python) pycaml module: (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 ------------------------------------------------------------------------------ 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: warning: 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/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/enum.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dynArray.mli File "ocamlextra/setb.ml", line 245, characters 18-36: 245 | let c = Pervasives.compare v1 v2 in ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /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 oassoc.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocamlextra/dynArray.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/suffix_tree_ext.ml File "common.ml", line 2197, characters 16-32: 2197 | let lowercase = String.lowercase ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "common.ml", line 4599, characters 40-58: 4599 | let compare (x : int) (y : int) = Pervasives.compare x y ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "common.ml", line 4608, characters 13-31: 4608 | let cmp_x = Pervasives.compare x1 x2 in ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims File "common.ml", line 4612, characters 3-21: 4612 | Pervasives.compare y1 y2 ^^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Pervasives Use Stdlib instead. If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c interfaces.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c objet.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c seti.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c glimpse.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c parser_combinators.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oassoc.ml skipped building seti.cmo in optimizing mode: seti.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c oset.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oset.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c osequence.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/oassocb.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/osetb.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oarray.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -a -o commons.cmxa ocamlextra/dumper.cmx ocamlextra/setb.cmx ocamlextra/mapb.cmx ocamlextra/setPt.cmx commands.cmx common.cmx interfaces.cmx objet.cmx ocollection.cmx seti.cmx oset.cmx oassoc.cmx osequence.cmx ograph.cmx ocollection/osetb.cmx ocollection/oassocb.cmx oarray.cmx ograph_simple.cmx ograph_extended.cmx glimpse.cmx parser_combinators.cmx ocamlextra/enum.cmx ocamlextra/dynArray.cmx ocamlextra/suffix_tree.cmx ocamlextra/suffix_tree_ext.cmx make[8]: Leaving directory '/<>/commons' make[7]: Leaving directory '/<>/commons' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/globals' make[8]: Entering directory '/<>/globals' /usr/bin/ocamlc.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -opaque -c config.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -opaque -c flag.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -opaque -c iteration.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -opaque -c regexp_pcre.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -opaque -c config.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -opaque -c flag.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -opaque -c regexp.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -opaque -c iteration.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I /usr/lib/ocaml/pcre -a -o globals.cmxa config.cmx flag.cmx iteration.cmx regexp_pcre.cmx regexp.cmx make[8]: Leaving directory '/<>/globals' make[7]: Leaving directory '/<>/globals' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/ctl' make[8]: Entering directory '/<>/ctl' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c flag_ctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ast_ctl.ml skipped building ast_ctl.cmo in optimizing mode: ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c pretty_print_ctl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ctl_engine.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c pretty_print_ctl.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c wrapper_ctl.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ctl_engine.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c wrapper_ctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -a -o ctl.cmxa flag_ctl.cmx ast_ctl.cmx pretty_print_ctl.cmx ctl_engine.cmx wrapper_ctl.cmx make[8]: Leaving directory '/<>/ctl' make[7]: Leaving directory '/<>/ctl' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/parsing_cocci' make[8]: Entering directory '/<>/parsing_cocci' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c flag_parsing_cocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_cocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c semantic_cocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_printf.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c lexer_cli.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c cocci_grep.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c dpll.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c git_grep.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c command_line.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_cocci.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast_cocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_printf.ml skipped building semantic_cocci.cmo in optimizing mode: semantic_cocci.cmx will be built instead. skipped building flag_parsing_cocci.cmo in optimizing mode: flag_parsing_cocci.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c cocci_grep.ml File "parse_printf.ml", line 23, characters 19-34: 23 | with Failure "int_of_string" -> (None, s)) ^^^^^^^^^^^^^^^ 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 9.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 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 adjacency.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c commas_on_lists.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_cocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast0_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c pretty_print_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0_types.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c compute_lines.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c top_level.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c arity.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c index.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c data.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unparse_ast0.ml skipped building visitor_ast0_types.cmo in optimizing mode: visitor_ast0_types.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_aux.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.mli /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 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 get_constants2.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/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 id_utils.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c comm_assoc.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c simple_assignments.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c get_metas.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast0toast.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c check_meta.ml File "check_meta.ml", line 62, characters 28-44: 62 | String.length name > 2 && String.uppercase name = name ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uppercase Use String.uppercase_ascii instead. File "parser_cocci_menhir.mly", line 649, characters 29-44: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 9.5) /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c type_infer.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c test_exps.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c unitary_ast0.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c context_neg.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c adjust_pragmas.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c adjacency.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c commas_on_lists.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c single_statement.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c insert_plus.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c function_prototypes.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c lexer_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c lexer_script.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parse_cocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -I /usr/lib/ocaml/menhirLib -a -o cocci_parser.cmxa 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/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c ast_c.mli skipped building parsing_stat.cmo in optimizing mode: parsing_stat.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c ast_c.ml /usr/bin/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/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/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 control_flow_c.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c lib_parsing_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 cpp_token_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 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 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 comment_annotater_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 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[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/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c externalanalysis.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c flag_matcher.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c lib_engine.ml skipped building ../ctl/ast_ctl.cmo in optimizing mode: ../ctl/ast_ctl.cmx will be built instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -c check_exhaustive_pattern.ml /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/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/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/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/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: 125 | with Failure("int_of_string") -> ^^^^^^^^^^^^^^^^^ 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 9.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 pretty_print_popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c insert_quantifiers.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c asttopopl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popltoctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -c popl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../ctl -I ../parsing_cocci -I ../parsing_c -I ../engine -a -o popl.cmxa ast_popl.cmx asttopopl.cmx insert_quantifiers.cmx pretty_print_popl.cmx flag_popl.cmx popltoctl.cmx popl.cmx make[8]: Leaving directory '/<>/popl09' make[7]: Leaving directory '/<>/popl09' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/extra' make[8]: Entering directory '/<>/extra' /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c classic_patch.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c kbuild.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c maintainers.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c kbuild.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../globals -I ../parsing_cocci -I ../parsing_c -c classic_patch.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' /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c pycocci_aux.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c pycocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c pycocci_aux.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c no_pycocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c pycocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -a -o coccipython.cmxa pycocci_aux.cmx no_pycocci.cmx pycocci.cmx make[8]: Leaving directory '/<>/python' make[7]: Leaving directory '/<>/python' make[6]: Leaving directory '/<>' make[6]: Entering directory '/<>' make[7]: Entering directory '/<>/ocaml' make[8]: Entering directory '/<>/ocaml' /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c exposed_modules.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c ocamlcocci_aux.mli /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 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: 136 | (String.capitalize x) x) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 287, characters 16-33: 287 | (List.map String.capitalize !Iteration.parsed_virtual_rules))); ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 294, characters 12-29: 294 | (List.map String.capitalize ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 417, characters 9-23: 417 | let l = Char.lowercase (Bytes.get dep 0)in ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.Char.lowercase Use Char.lowercase_ascii instead. /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -c prepare_ocamlcocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_cocci -I ../parsing_c -I ../engine -a -o cocciocaml.cmxa exposed_modules.cmx coccilib.cmx ocamlcocci_aux.cmx yes_prepare_ocamlcocci.cmx prepare_ocamlcocci.cmx run_ocamlcocci.cmx make[8]: Leaving directory '/<>/ocaml' make[7]: Leaving directory '/<>/ocaml' make[6]: Leaving directory '/<>' make[5]: Leaving directory '/<>' make spatch.opt BUILD_OPT=yes make[5]: Entering directory '/<>' make[6]: Entering directory '/<>/commons' make[7]: Entering directory '/<>/commons' skipped building seti.cmo in optimizing mode: seti.cmx will be built instead. skipped building ocamlextra/setPt.cmo in optimizing mode: ocamlextra/setPt.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c oset.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c oset.ml /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.mli /usr/bin/ocamlc.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.mli /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ocollection/osetb.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_simple.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -c ograph_extended.ml /usr/bin/ocamlopt.opt -unsafe -I ocamlextra -I ocollection -a -o commons.cmxa ocamlextra/dumper.cmx ocamlextra/setb.cmx ocamlextra/mapb.cmx ocamlextra/setPt.cmx commands.cmx common.cmx interfaces.cmx objet.cmx ocollection.cmx seti.cmx oset.cmx oassoc.cmx osequence.cmx ograph.cmx ocollection/osetb.cmx ocollection/oassocb.cmx oarray.cmx ograph_simple.cmx ograph_extended.cmx glimpse.cmx parser_combinators.cmx ocamlextra/enum.cmx ocamlextra/dynArray.cmx ocamlextra/suffix_tree.cmx ocamlextra/suffix_tree_ext.cmx make[7]: Leaving directory '/<>/commons' make[6]: Leaving directory '/<>/commons' make[6]: Entering directory '/<>/globals' make[7]: Entering directory '/<>/globals' make[7]: 'globals.cmxa' is up to date. make[7]: Leaving directory '/<>/globals' make[6]: Leaving directory '/<>/globals' make[6]: Entering directory '/<>/ctl' make[7]: Entering directory '/<>/ctl' skipped building ast_ctl.cmo in optimizing mode: ast_ctl.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c pretty_print_ctl.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ctl_engine.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c pretty_print_ctl.ml /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c wrapper_ctl.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c ctl_engine.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -c wrapper_ctl.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -a -o ctl.cmxa flag_ctl.cmx ast_ctl.cmx pretty_print_ctl.cmx ctl_engine.cmx wrapper_ctl.cmx make[7]: Leaving directory '/<>/ctl' make[6]: Leaving directory '/<>/ctl' make[6]: Entering directory '/<>/parsing_cocci' make[7]: Entering directory '/<>/parsing_cocci' skipped building visitor_ast0_types.cmo in optimizing mode: visitor_ast0_types.cmx will be built instead. skipped building semantic_cocci.cmo in optimizing mode: semantic_cocci.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.mli skipped building flag_parsing_cocci.cmo in optimizing mode: flag_parsing_cocci.cmx will be built instead. skipped building parse_aux.cmo in optimizing mode: parse_aux.cmx will be built instead. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c visitor_ast0.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c parser_cocci_menhir.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c comm_assoc.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_pattern.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c iso_compile.ml File "parser_cocci_menhir.mly", line 649, characters 29-44: Warning 52: Code should not depend on the actual values of this constructor's arguments. They are only for information and may change in future versions. (See manual section 9.5) /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c simple_assignments.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c get_metas.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c ast0toast.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I /usr/lib/ocaml/menhirLib -c check_meta.ml File "check_meta.ml", line 62, characters 28-44: 62 | String.length name > 2 && String.uppercase name = name ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.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 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. /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c ast_c.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c ast_c.ml /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_recovery_c.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/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/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/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c control_flow_c.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../commons/ocollection -I ../globals -I ../parsing_cocci -c parser_c.ml /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 lib_parsing_c.mli /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 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 comment_annotater_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 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' /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/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/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/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/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: 125 | with Failure("int_of_string") -> ^^^^^^^^^^^^^^^^^ 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 9.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' /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c pycocci_aux.mli /usr/bin/ocamlc.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c pycocci.mli /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c pycocci_aux.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c no_pycocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -c pycocci.ml /usr/bin/ocamlopt.opt -unsafe -I ../commons -I ../commons/ocamlextra -I ../globals -I ../parsing_c -I ../parsing_cocci -a -o coccipython.cmxa pycocci_aux.cmx no_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 /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: 136 | (String.capitalize x) x) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 287, characters 16-33: 287 | (List.map String.capitalize !Iteration.parsed_virtual_rules))); ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 294, characters 12-29: 294 | (List.map String.capitalize ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 417, characters 9-23: 417 | let l = Char.lowercase (Bytes.get dep 0)in ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.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 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 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 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 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 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 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 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 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: 811 | with Invalid_argument("Filename.chop_extension") -> None in ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 9.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 commons -I commons/ocamlextra -I ctl -I engine -I extra -I globals -I ocaml -I parsing_c -I parsing_cocci -I popl09 -I python -ccopt -lpcre -cclib -lpcre_stubs -cclib -lparmap_stubs -o spatch.opt str.cmxa unix.cmxa bigarray.cmxa nums.cmxa menhirLib.cmxa /usr/lib/ocaml/dynlink.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/lexer_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.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: 136 | (String.capitalize x) x) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 287, characters 16-33: 287 | (List.map String.capitalize !Iteration.parsed_virtual_rules))); ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 294, characters 12-29: 294 | (List.map String.capitalize ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "yes_prepare_ocamlcocci.ml", line 417, characters 9-23: 417 | let l = Char.lowercase (Bytes.get dep 0)in ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.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.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... 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-9299-660b31-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-9299-5311b2-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-9299-1c26da-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-9299-17c963-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-9299-a85141-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-9299-3c58ad-addbefore.c @@ -1,5 +1,6 @@ int main () { if (x) { + foo(); goto out; } after(); addbeforeafter.res diff = --- tests/addbeforeafter.c +++ /tmp/cocci-output-9299-cf995b-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-9299-ce25f3-addelse.c @@ -1,3 +1,2 @@ int main () { - if (x == 12) return 6; } addfield.res diff = --- tests/addfield.c +++ /tmp/cocci-output-9299-a6230d-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-9299-4c0348-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-9299-90b8c6-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-9299-68bd87-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-9299-437ed0-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-9299-816a98-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-9299-527791-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-9299-241b07-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-9299-fcff58-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-9299-1d4452-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-9299-d74290-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-9299-13e6e1-allex2.c @@ -8,5 +8,5 @@ int main () { } return 15; out: - return 0; + return 100; } allex3.res diff = --- tests/allex3.c +++ /tmp/cocci-output-9299-69bdd6-allex3.c @@ -9,5 +9,4 @@ int main () { } return 15; out: - return 0; } anon.res diff = --- tests/anon.c +++ /tmp/cocci-output-9299-a41833-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-9299-1a93d5-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-9299-3300a1-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-9299-fa3e66-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-9299-bbcf3d-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-9299-c98b90-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-9299-a83170-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-9299-b95ca8-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-9299-3a56c9-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-9299-a30789-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-9299-c861a9-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-9299-db1efc-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-9299-6bf675-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-9299-83515f-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-9299-e0654e-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-9299-7ba904-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-9299-0e46c3-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-9299-a530c0-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-9299-d6a0f1-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-9299-119958-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-9299-173de7-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-9299-6af0e1-before.c @@ -1,4 +1,6 @@ int main () { + blah(); one(); + blah(); foo(); } ben.res diff = --- tests/ben.c +++ /tmp/cocci-output-9299-a8cc18-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-9299-8c5947-bigin.c @@ -9,5 +9,6 @@ int main() { if (x) if (x) blah(); + bar(); foo(); } bigrepl.res diff = --- tests/bigrepl.c +++ /tmp/cocci-output-9299-824d13-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-9299-6634d9-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-9299-3f208b-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-9299-a9f0d5-boolr.c @@ -1,4 +1,3 @@ int main() { - bool i3, i4, i5; int b; } braces.res diff = --- tests/braces.c +++ /tmp/cocci-output-9299-3a9b8d-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-9299-62720f-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-9299-ce9865-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-9299-5e7b76-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-9299-1b43cb-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-9299-e7c7ab-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-9299-608536-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-9299-0cd9ac-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-9299-01a4ec-cast.c @@ -1,3 +1,2 @@ int main () { - ((struct xxx *)E)->foo = 12; } cast_iso.res diff = --- tests/cast_iso.c +++ /tmp/cocci-output-9299-6cfa00-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-9299-b6f68e-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-9299-bb2e5f-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-9299-91505f-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-9299-0482ad-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-9299-6e0c2a-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-9299-a27ae4-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-9299-e5d648-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-9299-c96c5f-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-9299-c40fd1-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-9299-742102-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-9299-e2d252-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-9299-730e7a-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-9299-40c575-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-9299-a97f95-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-9299-0bcbea-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-9299-8802e9-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-9299-deab39-constrem.c @@ -1,3 +1 @@ -static const int a; -static const int (*f)(const int); constructor.res diff = --- tests/constructor.c +++ /tmp/cocci-output-9299-c68ddc-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-9299-fd0b2f-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-9299-5b5ac9-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-9299-e93cf6-cptr.c @@ -1 +1 @@ -static const char *str = "..."; +static const char * const str = "..."; cr.res diff = --- tests/cr.c +++ /tmp/cocci-output-9299-692e5b-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-9299-4bd3a9-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-9299-756e9b-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-9299-4fcc6d-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-9299-8e2cd3-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-9299-411731-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-9299-85f4ed-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-9299-e95b06-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-9299-85ad8b-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-9299-81261d-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-9299-ff753b-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-9299-fa262e-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-9299-5c2361-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-9299-0bcd16-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-9299-285785-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-9299-160904-defe.c @@ -1 +1,0 @@ -#define x 3 define_exp.res diff = --- tests/define_exp.c +++ /tmp/cocci-output-9299-0fce7e-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-9299-60b85d-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-9299-162fc0-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-9299-3b20ba-delp.c @@ -1,4 +1,4 @@ int main () { return - (foo); + foo; } deref.res diff = --- tests/deref.c +++ /tmp/cocci-output-9299-968d70-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-9299-afe8cd-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-9299-dc80f0-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-9299-e8b229-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-9299-63548b-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-9299-a7f709-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-9299-81e5c9-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-9299-9734ce-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-9299-655cd9-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-9299-c56e2b-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-9299-b78aa9-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-9299-707106-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-9299-b1fa33-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-9299-6fe66b-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-9299-852151-dowhile.c @@ -1,7 +1,5 @@ int main() { do { - f(); } while (0); - g(); } dropbr.res diff = --- tests/dropbr.c +++ /tmp/cocci-output-9299-6b106b-dropbr.c @@ -1,5 +1,3 @@ int main () { - if (a) { - bar(); - } + if (a)foo(); } dropcom.res diff = --- tests/dropcom.c +++ /tmp/cocci-output-9299-8b23da-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-9299-8bac10-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-9299-be0028-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-9299-f98a8b-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-9299-9908ae-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-9299-fd38e9-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-9299-d28c7b-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-9299-27925a-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-9299-27fbdb-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-9299-fb6c38-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-9299-c0e71d-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-9299-58989e-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_73de4a.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_73de4a.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 Compilation OK! Loading ML code of the SP... diff = --- tests/endpos.c +++ /tmp/cocci-output-9299-195029-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-9299-3a75f1-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_c41994.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_c41994.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 Compilation OK! Loading ML code of the SP... Failure in rule starting on line 8 diff = --- tests/exitc.c +++ /tmp/cocci-output-9299-1b54af-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 exn while in timeout_function exp.res diff = --- tests/exp.c +++ /tmp/cocci-output-9299-1e2b1c-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-9299-4ccf38-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-9299-06405c-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-9299-362098-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-9299-4c97f3-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-9299-c5699f-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-9299-0adca8-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_42697b.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_42697b.ml File "/tmp/ocaml_cocci_42697b.ml", line 27, characters 4-6: 27 | let ff = match List.nth __args__ 1 with Coccilib.Str x -> x | _ -> failwith "bad value" in ^^ 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 Compilation OK! Loading ML code of the SP... diff = --- tests/extra.c +++ /tmp/cocci-output-9299-6184cf-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-9299-b49d76-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-9299-32c44e-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-9299-7f7a7a-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-9299-1bf5cf-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-9299-a69a8a-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-9299-526df4-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-9299-80ad6f-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-9299-098b30-fnret.c @@ -1 +1 @@ -static void foo(int x) { return; } + fnty.res diff = --- tests/fnty.c +++ /tmp/cocci-output-9299-44f5c5-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-9299-89d7cd-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_3aff91.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_3aff91.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 Compilation OK! Loading ML code of the SP... diff = format string is 1x format string is 2x --- tests/format2.c +++ /tmp/cocci-output-9299-caa7fe-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-9299-310e56-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-9299-3eff09-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-9299-6f8324-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-9299-50ef5f-four.c @@ -1,5 +1,3 @@ int main () { f(1); - h(2); - i(2); } foura.res diff = --- tests/foura.c +++ /tmp/cocci-output-9299-cc49ad-foura.c @@ -1,5 +1,4 @@ int main () { f(1); h(2); - i(2); } fp.res diff = --- tests/fp.c +++ /tmp/cocci-output-9299-223610-fp.c @@ -1,3 +1,2 @@ int main(int (*x)(int,int)) { - x(); } fsh.res diff = --- tests/fsh.c +++ /tmp/cocci-output-9299-dcbb15-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-9299-9f05d7-fun.c @@ -1 +1,4 @@ +struct a { + int a; +}; int f(int x) { return x; } func.res diff = --- tests/func.c +++ /tmp/cocci-output-9299-461709-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-9299-090fe2-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-9299-603be4-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-9299-f9828d-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-9299-3d929f-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-9299-dd2568-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-9299-e8cadd-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-9299-8b78f4-hex.c @@ -1,3 +1,2 @@ int main() { - f(0x00); } hil1.res diff = --- tests/hil1.c +++ /tmp/cocci-output-9299-284e7a-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-9299-78aa9c-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-9299-e58a2c-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-9299-830d12-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-9299-029f72-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-9299-c4f9ee-ifdef1.c @@ -1,5 +1,8 @@ #include #include +#ifdef CONFIG_NKERNEL +#include +#endif #include #include ifdef2.res diff = --- tests/ifdef2.c +++ /tmp/cocci-output-9299-3a1e32-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-9299-9ec86e-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-9299-62d2f1-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-9299-ad15c7-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-9299-5ed957-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-9299-36437b-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-9299-adaf00-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-9299-050995-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-9299-17b05d-ifdefmeta2.c @@ -1,12 +1,2 @@ int main() { - buf = alloca(3 - - - +5 - - - - - +2 - ); } ifdefmeta3.res diff = --- tests/ifdefmeta3.c +++ /tmp/cocci-output-9299-81c318-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-9299-37cb28-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-9299-c2622e-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-9299-e15296-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-9299-d89258-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-9299-508e51-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-9299-4b9dbf-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-9299-388ec6-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-9299-8727d1-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-9299-aeee1a-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-9299-292675-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-9299-4b8aa4-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-9299-b355ee-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-9299-bad3e0-inclifdef.c @@ -1,4 +1,5 @@ #include +#include #ifdef CONFIG #include #endif include.res diff = --- tests/include.c +++ /tmp/cocci-output-9299-8fb4fa-include.c @@ -1,8 +1,6 @@ #include #include -#include -#include void main(int i) { incompatible_value.res incpos.res exn while in timeout_function incpos1.res exn while in timeout_function inherited.res diff = --- tests/inherited.c +++ /tmp/cocci-output-9299-00db63-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-9299-df369d-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-9299-d56829-inhmet.c @@ -1,3 +1,3 @@ int main () { - x->s = 12; + foo(); } inhpos.res diff = --- tests/inhpos.c +++ /tmp/cocci-output-9299-d25987-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-9299-00b250-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-9299-e63dce-inline.c @@ -1 +1 @@ -inline void foo(int x) { return; } + insdef.res diff = --- tests/insdef.c +++ /tmp/cocci-output-9299-8c316b-insdef.c @@ -1 +1,2 @@ #define TABINFOGEN +#include int2bool-local.res diff = --- tests/int2bool-local.c +++ /tmp/cocci-output-9299-aae97e-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-9299-7cd7d6-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-9299-1d0ac3-invert.c @@ -1,3 +1,3 @@ int main () { - x = y + z; + x = z + y; } ip.res diff = --- tests/ip.c +++ /tmp/cocci-output-9299-40c85d-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-9299-a422af-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-9299-f6f361-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-9299-4dddda-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-9299-903455-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-9299-8702f2-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-9299-f089ea-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-9299-368f57-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-9299-1ae6a7-julia10.c @@ -1,7 +1,5 @@ int main(int x) { f(); - h(); g(); - h(); } julia7.res diff = --- tests/julia7.c +++ /tmp/cocci-output-9299-e90a9f-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-9299-2425af-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-9299-6690cd-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-9299-cfc6d8-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-9299-91043d-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-9299-f5e54b-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-9299-249f8d-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-9299-64475a-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-9299-2ad295-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-9299-52955b-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-9299-00d148-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-9299-b0aab5-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-9299-71f09c-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-9299-280e36-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-9299-40bd21-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-9299-ee8311-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-9299-5f380d-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-9299-e9a16e-log.c @@ -8,5 +8,4 @@ static struct var_t vars[] = { int main () { - f("foo"); } longconst.res diff = --- tests/longconst.c +++ /tmp/cocci-output-9299-f8b54c-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-9299-56dd10-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-9299-e018b3-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-9299-4acd04-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-9299-4be113-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-9299-22badd-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-9299-53dd98-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-9299-be247e-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-9299-56ed70-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-9299-20d921-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-9299-bc507b-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-9299-3bd45f-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_c9de48.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_c9de48.ml File "/tmp/ocaml_cocci_c9de48.ml", line 30, characters 4-11: 30 | let unbound = List.nth __script_args__ 4 in ^^^^^^^ 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 Compilation OK! Loading ML code of the SP... diff = --- tests/mdecl.c +++ /tmp/cocci-output-9299-791f63-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_41bc22.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_41bc22.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 Compilation OK! Loading ML code of the SP... mdeclp2.res Using native version of ocamlc/ocamlopt/ocamldep ocamlopt.opt -shared -o /tmp/ocaml_cocci_889533.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_889533.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 Compilation OK! Loading ML code of the SP... exn while in timeout_function memory.res diff = --- tests/memory.c +++ /tmp/cocci-output-9299-441bbd-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-9299-42609a-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-9299-7b91bf-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-9299-03e1c5-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-9299-23945c-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-9299-07487f-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-9299-2114f8-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-9299-68f470-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-9299-068519-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-9299-388194-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-9299-6476f4-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-9299-7fd1ca-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-9299-82e341-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-9299-cb2cb0-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-9299-0162e4-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-9299-1122fb-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-9299-cdc015-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-9299-895766-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-9299-18ed39-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-9299-5ede48-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-9299-e5a8f9-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-9299-09c00b-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-9299-1dc787-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-9299-9631a8-multistruct.c @@ -1,5 +1,3 @@ -struct one x; -struct two y; struct three z; multitype.res diff = --- tests/multitype.c +++ /tmp/cocci-output-9299-9f11e3-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-9299-3b3d8e-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-9299-767cf8-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-9299-8490b8-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-9299-126d61-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-9299-8250f3-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-9299-4ee28e-nestone.c @@ -1,4 +1,3 @@ int foo() { if (x) { xxx(); return;} - yyy(); } nestseq.res diff = --- tests/nestseq.c +++ /tmp/cocci-output-9299-07a08b-nestseq.c @@ -2,4 +2,5 @@ int main () { f(); g(12); h(); + xxx(12); } neststruct.res diff = --- tests/neststruct.c +++ /tmp/cocci-output-9299-de9345-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-9299-ee2cdf-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-9299-e29a31-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-9299-de848e-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-9299-4c6071-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-9299-443cff-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-9299-0de830-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-9299-2b5a8f-noty.c @@ -1,3 +1,4 @@ int main(int *x) { if (NULL == x) { return; } + g(); } noty2.res diff = --- tests/noty2.c +++ /tmp/cocci-output-9299-a4c7f0-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-9299-c1e3c0-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-9299-774967-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-9299-19af68-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-9299-05d07b-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-9299-43243f-oneline.c @@ -1,4 +1,4 @@ int main () { - f(); - f(); + g(); + g(); } opt.res diff = --- tests/opt.c +++ /tmp/cocci-output-9299-b9b8ed-opt.c @@ -1,3 +1,2 @@ int main () { - yyy(); } optional_qualifier.res diff = --- tests/optional_qualifier.c +++ /tmp/cocci-output-9299-edf926-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-9299-56dd79-optional_storage.c @@ -1,4 +1,4 @@ -int foo1(void) +static int foo1(void) { } orexp.res diff = --- tests/orexp.c +++ /tmp/cocci-output-9299-033a05-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-9299-8a22bc-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-9299-9e698e-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-9299-14092f-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-9299-d361b4-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-9299-0ff617-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-9299-c91739-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-9299-a34643-param_ver1.c @@ -1 +1 @@ -void foo(int x) { return; } + parameters_dots.res diff = --- tests/parameters_dots.c +++ /tmp/cocci-output-9299-1e59b3-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-9299-07aeba-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-9299-44504b-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-9299-2eeaad-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-9299-8b52ae-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-9299-6171ef-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-9299-5b9e62-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-9299-ad97ff-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-9299-c9af0c-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-9299-b7106c-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-9299-fa23a3-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-9299-2193b5-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-9299-ce3cb2-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-9299-2b3a2d-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-9299-5e98b3-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-9299-df1515-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-9299-608873-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-9299-6b5ad0-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-9299-f22a6f-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-9299-c33d9d-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-9299-7bee43-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-9299-a6f2bf-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-9299-ebd698-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-9299-ebc695-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-9299-059e99-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-9299-a6b125-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-9299-ec4e26-rem1.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) { foo(); } yyy(); } rem2.res diff = --- tests/rem2.c +++ /tmp/cocci-output-9299-b49695-rem2.c @@ -1,5 +1,4 @@ int main () { xxx(); - if (x) foo(); yyy(); } remaft.res diff = --- tests/remaft.c +++ /tmp/cocci-output-9299-a34626-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-9299-2d3f97-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-9299-ce7244-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-9299-1ff59d-rems.c @@ -1,5 +1,4 @@ int main () { x(); - if (x) a(); y(); } rems1.res diff = --- tests/rems1.c +++ /tmp/cocci-output-9299-e0b08f-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-9299-cce723-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-9299-a261e1-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-9299-d1981c-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-9299-26766b-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-9299-494534-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-9299-3a5cf9-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-9299-00d9bb-return_implicit.c @@ -1,4 +1,5 @@ void main(void) { foo(); + return -ENODEV; } retval.res diff = --- tests/retval.c +++ /tmp/cocci-output-9299-b0ae78-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-9299-af575d-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-9299-b5ce5f-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-9299-40de2f-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-9299-a09335-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-9299-e7c3a0-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-9299-0dfcf8-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-9299-58a43a-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-9299-0a4da7-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-9299-ab200a-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-9299-b10559-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-9299-679c7a-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-9299-f10753-skip.c @@ -1,5 +1,3 @@ int main () { - f(1); - f(2); - g(); + h(); } sl2.res diff = --- tests/sl2.c +++ /tmp/cocci-output-9299-88a463-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_9007f0.cmxs -g -I /usr/lib/ocaml -I /<>/ocaml /tmp/ocaml_cocci_9007f0.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 Compilation OK! Loading ML code of the SP... diff = --- tests/slen.c +++ /tmp/cocci-output-9299-871ffa-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-9299-42f51e-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-9299-b95bb3-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-9299-9c0870-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-9299-be8fec-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-9299-dc7885-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-9299-2070da-static.c @@ -1,4 +1,3 @@ static inline int i8042_read_data(void) { - return jazz_kh->data; } stm1.res exn while in timeout_function stm10.res diff = --- tests/stm10.c +++ /tmp/cocci-output-9299-61b3c1-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-9299-16f3ce-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-9299-d4e649-stm2.c @@ -1,5 +1,4 @@ int main(int x) { f(); - replace(); g(); } stm3.res diff = --- tests/stm3.c +++ /tmp/cocci-output-9299-dddf7c-stm3.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); g(); } stm4.res diff = --- tests/stm4.c +++ /tmp/cocci-output-9299-29378b-stm4.c @@ -2,4 +2,5 @@ int main(int x) { f(); replace(); g(); + g(); } stm5.res diff = --- tests/stm5.c +++ /tmp/cocci-output-9299-7a9a82-stm5.c @@ -1,5 +1,7 @@ int main(int x) { f(); + h(); replace(); g(); + g(); } stm6.res diff = --- tests/stm6.c +++ /tmp/cocci-output-9299-90c619-stm6.c @@ -1,5 +1,6 @@ int main(int x) { f(); + h(); replace(); g(); } stm7.res exn while in timeout_function stm8.res diff = --- tests/stm8.c +++ /tmp/cocci-output-9299-090d2c-stm8.c @@ -1,5 +1,5 @@ int main(int x) { f(); - replace(); + g(); replace(); g(); } stmt.res diff = --- tests/stmt.c +++ /tmp/cocci-output-9299-887699-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-9299-0d737d-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-9299-11b3bf-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-9299-9fc507-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-9299-ac1e19-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-9299-7f3da4-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-9299-3257d7-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-9299-a6fbc4-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-9299-0159e8-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-9299-9330d1-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-9299-6c2ca6-sw.c @@ -1 +1 @@ -int f() { switch (x) { case FOO: return; } } + swap3.res diff = --- tests/swap3.c +++ /tmp/cocci-output-9299-33f62d-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-9299-c0e29c-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-9299-85bd29-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-9299-247f05-symbol.c @@ -1,7 +1,5 @@ int main() { int f = 0; - f = 3; - return f; } td.res diff = --- tests/td.c +++ /tmp/cocci-output-9299-ee2c5c-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-9299-c035dc-tdnl.c @@ -4,5 +4,4 @@ void main() { td2.attr; - foo(); } tern.res diff = --- tests/tern.c +++ /tmp/cocci-output-9299-2ac612-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-9299-640d41-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-9299-5423ea-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-9299-a58a3e-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-9299-e843d8-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-9299-17cd0f-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-9299-c3261e-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-9299-940b15-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-9299-bc91a8-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-9299-27adbf-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-9299-6eb30d-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-9299-65407a-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-9299-782189-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-9299-c3b021-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-9299-d1ae01-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-9299-5d1dd2-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-9299-b69186-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-9299-182480-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-9299-c44b89-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-9299-b37e44-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-9299-4548b4-threea.c @@ -1,4 +1,3 @@ int main() { f(12); - q(12); } top.res diff = --- tests/top.c +++ /tmp/cocci-output-9299-d3559e-top.c @@ -1 +1 @@ -MODULE_PARM(suppress_pollack, "i"); +module_param(I, int, 0); topdec.res diff = --- tests/topdec.c +++ /tmp/cocci-output-9299-5cd8f2-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-9299-9ddad3-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-9299-d0ab88-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-9299-5aa789-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-9299-8e6662-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-9299-88b154-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-9299-ef1281-twomatch.c @@ -1,5 +1,5 @@ int main() { bar(12,1); - xxx(12,1); + yyy(); } twoproto.res diff = --- tests/twoproto.c +++ /tmp/cocci-output-9299-b23e80-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-9299-4a9c89-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-9299-d4b634-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-9299-223158-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-9299-22905a-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-9299-6aac10-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-9299-593a4a-type.c @@ -1,5 +1,5 @@ int foo() { - int x; + int *x; return 0; } type1.res diff = --- tests/type1.c +++ /tmp/cocci-output-9299-03c154-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-9299-7ce950-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-9299-65011d-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-9299-115aee-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-9299-e0a2a9-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-9299-42b832-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-9299-a17f23-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-9299-16b843-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-9299-7d0105-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-9299-c00deb-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-9299-47ac64-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-9299-dc8c57-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-9299-68bda6-varargs2.c @@ -1,3 +1,4 @@ static void f(char *fmt, ...) { + return NULL; } varargs3.res diff = --- tests/varargs3.c +++ /tmp/cocci-output-9299-b55da2-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-9299-6bfbd7-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-9299-649018-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-9299-a094d4-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-9299-3a7d4e-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-9299-24054b-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-9299-566f46-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-9299-dfe663-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-9299-fc1809-xfield.c @@ -1,4 +1,4 @@ -FOO(a2,b2,c2); +int x; /* int y; y2.res diff = --- tests/y2.c +++ /tmp/cocci-output-9299-4b7ceb-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-9299-9fa020-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 : PROBLEM exn = Failure("Semantic patch uses python, but Coccinelle has been compiled without Python support") 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 : PROBLEM exn = Failure("Semantic patch uses python, but Coccinelle has been compiled without Python support") incpos1.res : PROBLEM exn = Failure("Semantic patch uses python, but Coccinelle has been compiled without Python support") 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 : PROBLEM exn = Failure("Semantic patch uses python, but Coccinelle has been compiled without Python support") 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 : PROBLEM exn = Failure("Semantic patch uses python, but Coccinelle has been compiled without Python support") stm10.res : CORRECT stm10_ver1.res : CORRECT stm2.res : CORRECT stm3.res : CORRECT stm4.res : CORRECT stm5.res : CORRECT stm6.res : CORRECT stm7.res : PROBLEM exn = Failure("Semantic patch uses python, but Coccinelle has been compiled without Python support") 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: extra.res Great: a test file now works: format2.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: PROBLEM exn = Failure("Semantic patch uses python, but Coccinelle has been compiled without Python support") Great: a test file now works: p9.res Great: a test file now works: slen.res -------------------------------- total score -------------------------------- good = 452/480 Current score is greater than expected :) (was expecting 445 but got 452) make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' fakeroot debian/rules binary-arch dh binary-arch --with ocaml,python2 --parallel dh: warning: 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: warning: 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 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: warning: Compatibility levels before 9 are deprecated (level 8 in use) dh_installchangelogs -a -O--parallel dh_installexamples -a -O--parallel dh_installexamples: warning: Compatibility levels before 9 are deprecated (level 8 in use) dh_installman -a -O--parallel dh_installman: warning: Compatibility levels before 9 are deprecated (level 8 in use) dh_installemacsen -a -O--parallel dh_python2 -a -O--parallel I: dh_python2 tools:114: replacing shebang in debian/coccinelle/usr/bin/pycocci dh_installinit -a -O--parallel dh_installinit: warning: 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: warning: 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: warning: Compatibility levels before 9 are deprecated (level 8 in use) dh_strip -a -O--parallel dh_strip: warning: Compatibility levels before 9 are deprecated (level 8 in use) dh_makeshlibs -a -O--parallel dh_makeshlibs: warning: Compatibility levels before 9 are deprecated (level 8 in use) dh_shlibdeps -a -O--parallel dh_shlibdeps: warning: Compatibility levels before 9 are deprecated (level 8 in use) dh_installdeb -a -O--parallel dh_installdeb: warning: Compatibility levels before 9 are deprecated (level 8 in use) dh_ocaml -a -O--parallel W: coccinelle doesn't resolve dependency on unit Cpp_token_c W: coccinelle doesn't resolve dependency on unit Oassoc W: coccinelle doesn't resolve dependency on unit Setb W: coccinelle doesn't resolve dependency on unit Parsing_stat W: coccinelle doesn't resolve dependency on unit Control_flow_c W: coccinelle doesn't resolve dependency on unit Flag_parsing_c W: coccinelle doesn't resolve dependency on unit Token_c W: coccinelle doesn't resolve dependency on unit Regexp_pcre W: coccinelle doesn't resolve dependency on unit Oset W: coccinelle doesn't resolve dependency on unit Flag_parsing_cocci W: coccinelle doesn't resolve dependency on unit SetPt W: coccinelle doesn't resolve dependency on unit Externalanalysis W: coccinelle doesn't resolve dependency on unit Ocollection W: coccinelle doesn't resolve dependency on unit Lexer_parser W: coccinelle doesn't resolve dependency on unit Token_annot W: coccinelle doesn't resolve dependency on unit Type_annoter_c W: coccinelle doesn't resolve dependency on unit Objet W: coccinelle doesn't resolve dependency on unit Ograph_extended W: coccinelle doesn't resolve dependency on unit Token_views_c W: coccinelle doesn't resolve dependency on unit Seti W: coccinelle doesn't resolve dependency on unit Dumper dh_gencontrol -a -O--parallel dh_md5sums -a -O--parallel dh_builddeb -a -O--parallel INFO: pkgstriptranslations version 144 INFO: pkgstriptranslations version 144 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 " pkgstripfiles: processing control file: debian/coccinelle/DEBIAN/control, package coccinelle, directory debian/coccinelle 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-5ubuntu1_s390x.deb'. pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " 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-5ubuntu1_s390x.deb'. Renaming coccinelle-dbgsym_1.0.4.deb-5ubuntu1_s390x.deb to coccinelle-dbgsym_1.0.4.deb-5ubuntu1_s390x.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../coccinelle_1.0.4.deb-5ubuntu1_s390x.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 20200224-2007 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ coccinelle_1.0.4.deb-5ubuntu1_s390x.changes: -------------------------------------------- Format: 1.8 Date: Mon, 24 Feb 2020 19:44:58 +0100 Source: coccinelle Binary: coccinelle Architecture: s390x Version: 1.0.4.deb-5ubuntu1 Distribution: focal-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Gianfranco Costamagna Description: coccinelle - semantic patching tool for C Changes: coccinelle (1.0.4.deb-5ubuntu1) focal; urgency=medium . * Depend on python2 Checksums-Sha1: 5ff6b0109f9278fca3417527c051757fed07ee99 292456 coccinelle-dbgsym_1.0.4.deb-5ubuntu1_s390x.ddeb dfc5deadc992c9617a6b25c7695257708467759c 10015 coccinelle_1.0.4.deb-5ubuntu1_s390x.buildinfo 9fe39e57627b43fb2de72da92e1dd6c5588d8c62 2372880 coccinelle_1.0.4.deb-5ubuntu1_s390x.deb Checksums-Sha256: 16b07fa07f5d3ee6cd770d5d751b49ab6876e8573db2df63a9efb8496d5bcaef 292456 coccinelle-dbgsym_1.0.4.deb-5ubuntu1_s390x.ddeb 804f4cc0da2bf8642a4c56925d8a88d599edb8d148a2a1019982d44daa070565 10015 coccinelle_1.0.4.deb-5ubuntu1_s390x.buildinfo 8da4edf8d756821afadc6469676f84af055263c282a88b52e50b388929562016 2372880 coccinelle_1.0.4.deb-5ubuntu1_s390x.deb Files: c5f39a417539a55379394780bd1e3ae7 292456 debug optional coccinelle-dbgsym_1.0.4.deb-5ubuntu1_s390x.ddeb 74b9a0294e2d4e2245a792504d4135ac 10015 devel optional coccinelle_1.0.4.deb-5ubuntu1_s390x.buildinfo 1156d3665f70bf64a7454f3e00413250 2372880 devel optional coccinelle_1.0.4.deb-5ubuntu1_s390x.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ coccinelle_1.0.4.deb-5ubuntu1_s390x.deb --------------------------------------- new debian package, version 2.0. size 2372880 bytes: control archive=2160 bytes. 40 bytes, 1 lines conffiles 901 bytes, 17 lines control 2848 bytes, 40 lines md5sums 188 bytes, 5 lines * postinst #!/bin/sh 188 bytes, 5 lines * postrm #!/bin/sh 188 bytes, 5 lines * preinst #!/bin/sh 188 bytes, 5 lines * prerm #!/bin/sh Package: coccinelle Version: 1.0.4.deb-5ubuntu1 Architecture: s390x Maintainer: Ubuntu Developers Original-Maintainer: Debian OCaml Maintainers Installed-Size: 12418 Pre-Depends: dpkg (>= 1.17.14) Depends: libc6 (>= 2.29), libpcre3, libnum-ocaml-byio3, libpcre-ocaml-uqwz6, ocaml-base-nox-4.08.1, python2: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 2020-02-24 18:44 ./ drwxr-xr-x root/root 0 2020-02-24 18:44 ./etc/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./etc/emacs/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./etc/emacs/site-start.d/ -rw-r--r-- root/root 256 2020-02-16 16:13 ./etc/emacs/site-start.d/50coccinelle.el drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/bin/ -rwxr-xr-x root/root 24341 2020-02-24 18:44 ./usr/bin/pycocci -rwxr-xr-x root/root 117 2020-02-24 18:44 ./usr/bin/spatch drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/lib/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/lib/coccinelle/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/ -rw-r--r-- root/root 44140 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/ast0_cocci.cmi -rw-r--r-- root/root 43378 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/ast_c.cmi -rw-r--r-- root/root 54024 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/ast_cocci.cmi -rw-r--r-- root/root 10950 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/coccilib.cmi -rw-r--r-- root/root 123215 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/common.cmi -rw-r--r-- root/root 567 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/config.cmi -rw-r--r-- root/root 2756 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/exposed_modules.cmi -rw-r--r-- root/root 2613 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/flag.cmi -rw-r--r-- root/root 1653 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/iteration.cmi -rw-r--r-- root/root 5991 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/lexer_c.cmi -rw-r--r-- root/root 16510 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/lib_parsing_c.cmi -rw-r--r-- root/root 1109 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/ocamlcocci_aux.cmi -rw-r--r-- root/root 5317 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/parse_c.cmi -rw-r--r-- root/root 13683 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/parser_c.cmi -rw-r--r-- root/root 1112 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/prepare_ocamlcocci.cmi -rw-r--r-- root/root 10073 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/pretty_print_c.cmi -rw-r--r-- root/root 1041 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/regexp.cmi -rw-r--r-- root/root 1333 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/run_ocamlcocci.cmi -rw-r--r-- root/root 3343 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/type_cocci.cmi -rw-r--r-- root/root 23629 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/visitor_c.cmi -rw-r--r-- root/root 12187 2020-02-24 18:44 ./usr/lib/coccinelle/ocaml/yes_prepare_ocamlcocci.cmi -rwxr-xr-x root/root 12175256 2020-02-24 18:44 ./usr/lib/coccinelle/spatch -rw-r--r-- root/root 22668 2020-02-24 18:44 ./usr/lib/coccinelle/standard.h -rw-r--r-- root/root 15159 2020-02-24 18:44 ./usr/lib/coccinelle/standard.iso drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/bash-completion/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/bash-completion/completions/ -rw-r--r-- root/root 3211 2020-02-24 18:44 ./usr/share/bash-completion/completions/spatch drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/doc/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/doc/coccinelle/ -rw-r--r-- root/root 98 2020-02-16 16:13 ./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 1266 2020-02-24 18:44 ./usr/share/doc/coccinelle/changelog.Debian.gz -rw-r--r-- root/root 5708 2020-02-16 16:13 ./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 2020-02-24 18:44 ./usr/share/emacs/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/emacs/site-lisp/ -rw-r--r-- root/root 11218 2020-02-24 18:44 ./usr/share/emacs/site-lisp/cocci.el drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/man/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/man/man1/ -rw-r--r-- root/root 3792 2020-02-24 18:44 ./usr/share/man/man1/pycocci.1.gz -rw-r--r-- root/root 5281 2020-02-24 18:44 ./usr/share/man/man1/spatch.1.gz drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/man/man3/ -rw-r--r-- root/root 2069 2020-02-24 18:44 ./usr/share/man/man3/Coccilib.3cocci.gz drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/vim/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/vim/addons/ drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/vim/addons/ftdetect/ -rw-r--r-- root/root 367 2020-02-24 18:44 ./usr/share/vim/addons/ftdetect/cocci.vim drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/vim/addons/syntax/ -rw-r--r-- root/root 1248 2020-02-24 18:44 ./usr/share/vim/addons/syntax/cocci.vim drwxr-xr-x root/root 0 2020-02-24 18:44 ./usr/share/vim/registry/ -rw-r--r-- root/root 144 2020-02-24 18:44 ./usr/share/vim/registry/coccinelle.yaml +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: s390x Build-Space: 80376 Build-Time: 43 Distribution: focal-proposed Host Architecture: s390x Install-Time: 121 Job: coccinelle_1.0.4.deb-5ubuntu1.dsc Machine Architecture: s390x Package: coccinelle Package-Time: 164 Source-Version: 1.0.4.deb-5ubuntu1 Space: 80376 Status: successful Version: 1.0.4.deb-5ubuntu1 -------------------------------------------------------------------------------- Finished at 20200224-2007 Build needed 00:02:44, 80376k disc space RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=focal --arch=s390x PACKAGEBUILD-18758345 Scanning for processes to kill in build PACKAGEBUILD-18758345