I: pbuilder: network access will be disabled during build I: Current time: Fri Apr 14 08:30:02 +14 2023 I: pbuilder-time-stamp: 1681410602 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [ocaml-obuild_0.1.10-3.dsc] I: copying [./ocaml-obuild_0.1.10.orig.tar.gz] I: copying [./ocaml-obuild_0.1.10-3.debian.tar.xz] I: Extracting source gpgv: Signature made Sun Jul 8 03:35:27 2018 +14 gpgv: using RSA key 02054829E12D0F2A8E648E62745C4766D4CACDFF gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ocaml-obuild_0.1.10-3.dsc: no acceptable signature found dpkg-source: info: extracting ocaml-obuild in ocaml-obuild-0.1.10 dpkg-source: info: unpacking ocaml-obuild_0.1.10.orig.tar.gz dpkg-source: info: unpacking ocaml-obuild_0.1.10-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying bytecode-only.diff I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/13120/tmp/hooks/D01_modify_environment starting debug: Running on codethink16-arm64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/13120/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/13120/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME='pbuilder2' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DISTRIBUTION='bookworm' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' LANG='C' LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='13120' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.rK8a0LXT/pbuilderrc_9xHB --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rK8a0LXT/b2 --logfile b2/build.log --extrapackages usrmerge ocaml-obuild_0.1.10-3.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 12 00:26 /bin -> usr/bin I: user script /srv/workspace/pbuilder/13120/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9), ocaml-nox, dh-ocaml dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19616 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on ocaml-nox; however: Package ocaml-nox is not installed. pbuilder-satisfydepends-dummy depends on dh-ocaml; however: Package dh-ocaml is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-ocaml{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses6{a} libpipeline1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} ocaml{a} ocaml-base{a} ocaml-compiler-libs{a} ocaml-interp{a} ocaml-nox{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl ledit libarchive-cpio-perl libgpm2 libltdl-dev libmail-sendmail-perl lynx ocaml-man rlfe rlwrap wget 0 packages upgraded, 38 newly installed, 0 to remove and 0 not upgraded. Need to get 133 MB of archives. After unpacking 543 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 11 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 24 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.1+b3 [619 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] Get: 28 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 dh-ocaml all 1.1.3 [82.9 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 libncurses6 arm64 6.4-2 [94.0 kB] Get: 33 http://deb.debian.org/debian bookworm/main arm64 libncurses-dev arm64 6.4-2 [335 kB] Get: 34 http://deb.debian.org/debian bookworm/main arm64 ocaml-compiler-libs arm64 4.13.1-4 [30.9 MB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 ocaml-base arm64 4.13.1-4 [638 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 ocaml-interp arm64 4.13.1-4 [6157 kB] Get: 37 http://deb.debian.org/debian bookworm/main arm64 ocaml arm64 4.13.1-4 [76.1 MB] Get: 38 http://deb.debian.org/debian bookworm/main arm64 ocaml-nox all 4.13.1-4 [161 kB] Fetched 133 MB in 2s (63.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19616 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../02-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_arm64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../19-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../22-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../24-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.1+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_arm64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package dh-ocaml. Preparing to unpack .../30-dh-ocaml_1.1.3_all.deb ... Unpacking dh-ocaml (1.1.3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../31-libncurses6_6.4-2_arm64.deb ... Unpacking libncurses6:arm64 (6.4-2) ... Selecting previously unselected package libncurses-dev:arm64. Preparing to unpack .../32-libncurses-dev_6.4-2_arm64.deb ... Unpacking libncurses-dev:arm64 (6.4-2) ... Selecting previously unselected package ocaml-compiler-libs. Preparing to unpack .../33-ocaml-compiler-libs_4.13.1-4_arm64.deb ... Unpacking ocaml-compiler-libs (4.13.1-4) ... Selecting previously unselected package ocaml-base. Preparing to unpack .../34-ocaml-base_4.13.1-4_arm64.deb ... Unpacking ocaml-base (4.13.1-4) ... Selecting previously unselected package ocaml-interp. Preparing to unpack .../35-ocaml-interp_4.13.1-4_arm64.deb ... Unpacking ocaml-interp (4.13.1-4) ... Selecting previously unselected package ocaml. Preparing to unpack .../36-ocaml_4.13.1-4_arm64.deb ... Unpacking ocaml (4.13.1-4) ... Selecting previously unselected package ocaml-nox. Preparing to unpack .../37-ocaml-nox_4.13.1-4_all.deb ... Unpacking ocaml-nox (4.13.1-4) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up libicu72:arm64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up dh-ocaml (1.1.3) ... Setting up libmagic1:arm64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up libncurses6:arm64 (6.4-2) ... Setting up autopoint (0.21-12) ... Setting up ocaml-base (4.13.1-4) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libncurses-dev:arm64 (6.4-2) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Setting up ocaml-compiler-libs (4.13.1-4) ... Setting up ocaml-interp (4.13.1-4) ... Setting up ocaml (4.13.1-4) ... Setting up ocaml-nox (4.13.1-4) ... Processing triggers for libc-bin (2.36-8) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/13120/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... I: user script /srv/workspace/pbuilder/13120/tmp/hooks/A99_set_merged_usr finished hostname: Temporary failure in name resolution I: Running cd /build/ocaml-obuild-0.1.10/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ocaml-obuild_0.1.10-3_source.changes dpkg-buildpackage: info: source package ocaml-obuild dpkg-buildpackage: info: source version 0.1.10-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andy Li dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean --with ocaml dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_ocamlclean dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build dh build --with ocaml dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config dh_ocamlinit debian/rules override_dh_auto_build make[1]: Entering directory '/build/ocaml-obuild-0.1.10' ./bootstrap 4.13.1 Using compat402.ml COMPILING compat COMPILING fugue File "fugue.ml", line 215, characters 18-36: 215 | let compare = Pervasives.compare ^^^^^^^^^^^^^^^^^^ 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 COMPILING filepath COMPILING filesystem BUILDING library Ext.cmo COMPILING types COMPILING gconf COMPILING filetype COMPILING dag COMPILING libname COMPILING pp File "pp.ml", line 13, characters 26-42: 13 | let of_string s = match String.lowercase s with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. COMPILING expr File "expr.ml", lines 129-131, characters 20-33: 129 | ....................match (string_split ':' v ~limit:2) with 130 | [ _ ] -> ("", v) 131 | | [ p1; rest] -> (p1, rest)... Warning 8 [partial-match]: this pattern-matching is not exhaustive. Here is an example of a case that is not matched: _::_::_::_ File "expr.ml", lines 132-134, characters 23-35: 132 | .......................match (string_split '-' rest ~limit:2) with 133 | [ _ ] -> (p1, rest, "") 134 | | [ p2 ; p3 ] -> (p1, p2, p3)... Warning 8 [partial-match]: this pattern-matching is not exhaustive. Here is an example of a case that is not matched: _::_::_::_ COMPILING utils File "utils.ml", line 70, characters 23-73: 70 | try let _ = List.find (fun n -> Filesystem.exists (n p)) names in true ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 5 [ignored-partial-application]: this function application is partial, maybe some arguments are missing. COMPILING modname File "modname.ml", line 22, characters 12-26: 22 | else if Char.uppercase x.[0] <> x.[0] then (raise (InvalidModuleName x)) ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.Char.uppercase Use Char.uppercase_ascii instead. File "modname.ml", line 27, characters 15-34: 27 | let to_dir x = String.uncapitalize x ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "modname.ml", line 28, characters 27-46: 28 | let to_x ext modname = fn (String.uncapitalize modname ^ ext) ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "modname.ml", line 47, characters 34-51: 47 | let of_directory filename = wrap (String.capitalize (fn_to_string filename)) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. File "modname.ml", line 49, characters 12-29: 49 | try wrap (String.capitalize (Filename.chop_extension (fn_to_string filename))) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. COMPILING taskdep COMPILING helper COMPILING dagutils COMPILING process COMPILING findlibConf COMPILING scheduler COMPILING prog COMPILING dependencies COMPILING generators COMPILING hier File "hier.ml", line 88, characters 15-34: 88 | let name = String.uncapitalize modname in ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "hier.ml", line 194, characters 28-45: 194 | let m = try Modname.wrap (String.capitalize name) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. COMPILING meta COMPILING metacache COMPILING target COMPILING dist COMPILING project File "project.ml", line 84, characters 8-24: 84 | match String.lowercase value with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "project.ml", line 96, characters 53-70: 96 | let wrap_module_nice s = Hier.make [(Modname.wrap (String.capitalize s))] in ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. File "project.ml", line 105, characters 10-26: 105 | match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "project.ml", line 207, characters 15-31: 207 | match String.lowercase blockName with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "project.ml", line 224, characters 13-29: 224 | (match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "project.ml", line 255, characters 17-33: 255 | match String.lowercase blockName with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "project.ml", line 267, characters 13-29: 267 | (match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "project.ml", line 386, characters 13-29: 386 | (match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "project.ml", line 477, characters 15-31: 477 | match String.lowercase blockName with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "project.ml", line 488, characters 14-30: 488 | match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. COMPILING analyze File "analyze.ml", line 110, characters 23-39: 110 | Hashtbl.add h (String.lowercase k) (default "" v) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. COMPILING configure File "configure.ml", line 34, characters 57-73: 34 | add (sprintf "#define PROJECT_FLAG_%s %d\n" (String.uppercase name) (if v then 1 else 0)) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uppercase Use String.uppercase_ascii/StringLabels.uppercase_ascii instead. COMPILING prepare File "prepare.ml", line 379, characters 10-113: 379 | (match file_entry with Hier.FileEntry _ -> SimpleModule | Hier.GeneratedFileEntry _ -> GeneratedModule) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 8 [partial-match]: this pattern-matching is not exhaustive. Here is an example of a case that is not matched: DirectoryEntry _ COMPILING buildprogs COMPILING build COMPILING exception BUILDING library Obuild.cmo COMPILING sdist COMPILING doc COMPILING init File "init.ml", line 98, characters 45-62: 98 | let modules = List.map (fun m -> String.capitalize $ strip_ext ~ext:".ml" m) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. COMPILING help COMPILING install COMPILING path_generated COMPILING main LINKING obuild.bootstrap Configuring obuild-0.1.9... [ 1 of 57] Compiling Ext.Compat [ 2 of 57] Compiling Ext.Fugue File "ext/compat.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "ext/fugue.ml", line 215, characters 18-36: 215 | let compare = Pervasives.compare ^^^^^^^^^^^^^^^^^^ 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 "ext/fugue.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [ 3 of 57] Intfing Ext.Filepath [ 4 of 57] Compiling Ext.Filepath [ 5 of 57] Intfing Ext.Filesystem [ 6 of 57] Compiling Ext.Filesystem File "ext/filesystem.ml", lines 18-21, characters 11-58: 18 | ...........match (Unix.lstat fent).Unix.st_kind with 19 | | Unix.S_DIR -> rmdir_recursive (Unix.rmdir) fent 20 | | Unix.S_REG -> Unix.unlink fent 21 | | _ -> raise (UnexpectedFileType fent) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Unix.file_kind. [ 7 of 57] Packing Ext [ 8 of 57] Linking library dist/build/lib-obuild.ext/obuild_ext.cmxa [ 8 of 57] Linking library dist/build/lib-obuild.ext/obuild_ext.cmxs [ 8 of 57] Linking library dist/build/lib-obuild.ext/obuild_ext.cma [ 9 of 57] Checking dist/build/lib-obuild.ext [10 of 57] Compiling Obuild.Filetype [11 of 57] Compiling Obuild.Gconf File "obuild/filetype.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [12 of 57] Compiling Obuild.Pp File "obuild/gconf.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [13 of 57] Compiling Obuild.Dag File "obuild/pp.ml", line 13, characters 26-42: 13 | let of_string s = match String.lowercase s with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/pp.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [14 of 57] Compiling Obuild.Expr File "obuild/dag.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [15 of 57] Compiling Obuild.Modname File "obuild/modname.ml", line 22, characters 12-26: 22 | else if Char.uppercase x.[0] <> x.[0] then (raise (InvalidModuleName x)) ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.Char.uppercase Use Char.uppercase_ascii instead. File "obuild/modname.ml", line 27, characters 15-34: 27 | let to_dir x = String.uncapitalize x ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "obuild/modname.ml", line 28, characters 27-46: 28 | let to_x ext modname = fn (String.uncapitalize modname ^ ext) ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "obuild/modname.ml", line 47, characters 34-51: 47 | let of_directory filename = wrap (String.capitalize (fn_to_string filename)) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. File "obuild/modname.ml", line 49, characters 12-29: 49 | try wrap (String.capitalize (Filename.chop_extension (fn_to_string filename))) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. File "obuild/modname.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [16 of 57] Compiling Obuild.Types File "obuild/expr.ml", lines 129-131, characters 20-33: 129 | ....................match (string_split ':' v ~limit:2) with 130 | [ _ ] -> ("", v) 131 | | [ p1; rest] -> (p1, rest)... Warning 8 [partial-match]: this pattern-matching is not exhaustive. Here is an example of a case that is not matched: _::_::_::_ File "obuild/expr.ml", lines 132-134, characters 23-35: 132 | .......................match (string_split '-' rest ~limit:2) with 133 | [ _ ] -> (p1, rest, "") 134 | | [ p2 ; p3 ] -> (p1, p2, p3)... Warning 8 [partial-match]: this pattern-matching is not exhaustive. Here is an example of a case that is not matched: _::_::_::_ File "obuild/expr.ml", lines 216-222, characters 8-9: 216 | ........(match r with 217 | | Token.RPAREN :: r -> (Paren e, r) 218 | | Token.OR :: _ | Token.AND :: _ -> 219 | let (e, r) = parse_bin_expr e r in 220 | loop e r 221 | | _ -> raise UnbalancedParenthesis; 222 | ) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Token.t. File "obuild/expr.ml", lines 209-231, characters 4-82: 209 | ....match l with 210 | | [] -> raise MalformedExpression 211 | | Token.NOT :: r -> 212 | let (e, r) = parse_sub_expr r in ((Not e), r) 213 | | Token.LPAREN :: r -> ... 228 | | Token.LT :: Token.VER v :: r -> (Lt v, r) 229 | | Token.LE :: Token.VER v :: r -> (Le v, r) 230 | | Token.NE :: Token.VER v :: r -> (Ne v, r) 231 | | z -> raise (UnknownExpression (showList "," Token.to_string z)) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Token.t. File "obuild/expr.ml", lines 233-236, characters 4-36: 233 | ....match l with 234 | | Token.OR :: r -> let (e, r) = parse_sub_expr r in ((Or (expr,e)), r) 235 | | Token.AND :: r -> let (e, r) = parse_sub_expr r in ((And (expr,e)), r) 236 | | _ -> raise MalformedExpression Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Token.t. File "obuild/expr.ml", lines 268-271, characters 2-73: 268 | ..match Token.lexer s with 269 | | [] -> raise ExpressionEmpty 270 | | Token.ID name :: constraints -> (name, (parse_constraints name constraints)) 271 | | x :: _ -> raise (InvalidDependencyName (Token.to_string x)) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Token.t. File "obuild/expr.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [17 of 57] Compiling Obuild.Taskdep File "obuild/types.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [18 of 57] Compiling Obuild.Libname File "obuild/taskdep.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [19 of 57] Compiling Obuild.Utils File "obuild/libname.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [20 of 57] Compiling Obuild.Dagutils File "obuild/dagutils.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "obuild/utils.ml", line 70, characters 23-73: 70 | try let _ = List.find (fun n -> Filesystem.exists (n p)) names in true ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 5 [ignored-partial-application]: this function application is partial, maybe some arguments are missing. File "obuild/utils.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [21 of 57] Compiling Obuild.Helper File "obuild/helper.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [22 of 57] Compiling Obuild.Process File "obuild/process.ml", lines 95-97, characters 2-57: 95 | ..match pstat with 96 | | Unix.WEXITED 0 -> Success (Buffer.contents p.out.buf, Buffer.contents p.err.buf, Unix.gettimeofday () -. p.time) 97 | | _ -> Failure (Buffer.contents p.err.buf) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Unix.process_status. File "obuild/process.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [23 of 57] Compiling Obuild.Scheduler [24 of 57] Compiling Obuild.FindlibConf File "obuild/findlibConf.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [25 of 57] Compiling Obuild.Prog File "obuild/scheduler.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [26 of 57] Compiling Obuild.Meta File "obuild/prog.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [27 of 57] Compiling Obuild.Generators File "obuild/generators.ml", line 55, characters 10-101: 55 | let s = match ext with Filetype.FileOther s -> s | _ -> raise (GeneratorNotFound (fp_to_string fp)) in ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Filetype.t. File "obuild/generators.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [28 of 57] Compiling Obuild.Dependencies File "obuild/dependencies.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [29 of 57] Compiling Obuild.Hier File "obuild/meta.ml", lines 129-130, characters 27-67: 129 | ...........................match p with Predicate.Neg n -> not (List.mem n constraints) 130 | | _ -> List.mem p constraints....... Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Predicate.t. File "obuild/meta.ml", lines 139-140, characters 29-63: 139 | .............................match p with Predicate.Neg n -> not (List.mem n preds) 140 | | _ -> List.mem p preds............... Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Predicate.t. File "obuild/meta.ml", lines 315-319, characters 28-36: 315 | ............................function 316 | | COMMA :: ID s :: xs -> let (l, r) = parse_predicate xs in ((Predicate.of_string s) :: l, r) 317 | | COMMA :: MINUS :: ID s :: xs -> 318 | let (l, r) = parse_predicate xs in ((Predicate.Neg (Predicate.of_string s)) :: l, r) 319 | | xs -> ([], xs) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 324-327, characters 48-95: 324 | ................................................match xs2 with 325 | | RPAREN :: xs3 -> 326 | ((Predicate.of_string s) :: preds, xs3) 327 | | _ -> raise (MetaParseError (name, ("expecting ')' after " ^ field ^ "'s predicate"))) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 330-333, characters 48-95: 330 | ................................................match xs2 with 331 | | RPAREN :: xs3 -> 332 | ((Predicate.Neg (Predicate.of_string s)) :: preds, xs3) 333 | | _ -> raise (MetaParseError (name, ("expecting ')' after " ^ field ^ "'s predicate"))) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 321-335, characters 40-20: 321 | ........................................function 322 | | LPAREN :: RPAREN :: xs -> ([], xs) 323 | | LPAREN :: ID s :: xs -> 324 | (let (preds, xs2) = parse_predicate xs in match xs2 with 325 | | RPAREN :: xs3 -> ... 332 | ((Predicate.Neg (Predicate.of_string s)) :: preds, xs3) 333 | | _ -> raise (MetaParseError (name, ("expecting ')' after " ^ field ^ "'s predicate"))) 334 | ) 335 | | xs -> ([], xs) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 347-354, characters 8-75: 347 | ........match xs2 with 348 | | PLUSEQ :: S reqs :: xs3 349 | | EQ :: S reqs :: xs3 -> 350 | let deps = List.map (fun r -> Libname.of_string r) 351 | $ (List.filter (fun x -> x <> "") $ string_split_pred (fun c -> List.mem c [',';' ']) reqs) 352 | in 353 | parse pkg_name { acc with Pkg.requires = (preds, (List.rev deps)) :: acc.Pkg.requires } xs3 354 | | _ -> raise (MetaParseError (pkg_name, "parsing requires failed")) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 361-365, characters 8-74: 361 | ........match xs2 with 362 | | EQ :: S v :: xs3 -> 363 | let nacc = { acc with Pkg.warning = acc.Pkg.warning @ [(preds, v)] } in 364 | parse pkg_name nacc xs3 365 | | _ -> raise (MetaParseError (pkg_name, "parsing warning failed")) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 370-377, characters 8-74: 370 | ........match xs2 with 371 | | PLUSEQ :: S v :: xs3 -> 372 | let nacc = { acc with Pkg.append_archives = acc.Pkg.append_archives @ [(preds, v)] } in 373 | parse pkg_name nacc xs3 374 | | EQ :: S v :: xs3 -> 375 | let nacc = { acc with Pkg.archives = acc.Pkg.archives @ [(preds, v)] } in 376 | parse pkg_name nacc xs3 377 | | _ -> raise (MetaParseError (pkg_name, "parsing archive failed")) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 382-389, characters 8-73: 382 | ........match xs2 with 383 | | PLUSEQ :: S v :: xs3 -> 384 | let nacc = { acc with Pkg.append_archives = acc.Pkg.append_archives @ [(preds, v)] } in 385 | parse pkg_name nacc xs3 386 | | EQ :: S v :: xs3 -> 387 | let nacc = { acc with Pkg.archives = acc.Pkg.archives @ [(preds, v)] } in 388 | parse pkg_name nacc xs3 389 | | _ -> raise (MetaParseError (pkg_name, "parsing plugin failed")) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 394-397, characters 8-70: 394 | ........match xs2 with 395 | | EQ :: S v :: xs3 -> 396 | parse pkg_name { acc with Pkg.ppx = Some (preds, v)} xs3 397 | | _ -> raise (MetaParseError (pkg_name, "parsing ppx failed")) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 401-405, characters 8-73: 401 | ........match xs2 with 402 | | PLUSEQ :: S v :: xs3 403 | | EQ :: S v :: xs3 -> 404 | parse pkg_name { acc with Pkg.ppxopt = acc.Pkg.ppxopt @ [(preds, v)]} xs3 405 | | _ -> raise (MetaParseError (pkg_name, "parsing ppxopt failed")) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 410-413, characters 26-57: 410 | ..........................function 411 | | RPAREN::zs -> zs 412 | | _::zs -> consume zs 413 | | [] -> failwith "eof in error context" Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 415-417, characters 8-61: 415 | ........match consume xs with 416 | | EQ :: S _ :: xs2 -> parse pkg_name acc xs2 417 | | _ -> failwith "parsing error failed" Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 421-424, characters 8-74: 421 | ........match xs2 with 422 | | EQ :: S s :: xs3 -> 423 | parse pkg_name { acc with Pkg.linkopts = ((if preds = [] then None else Some preds), s) :: acc.Pkg.linkopts } xs3 424 | | _ -> failwith "parsing linkopts failed, expecting equal" Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", lines 337-429, characters 31-97: 337 | ...............................function 338 | | [] -> (acc, []) 339 | | RPAREN :: xs -> (acc, xs) 340 | | ID "package" :: S name :: LPAREN :: xs -> 341 | (let (pkg, xs2) = parse pkg_name (Pkg.make name) xs in ... 426 | | ID stuff :: EQ :: S stuffVal :: xs -> 427 | parse pkg_name { acc with Pkg.assignment = (stuff, stuffVal) :: acc.Pkg.assignment } xs 428 | | x :: xs -> raise (MetaParseError (pkg_name, ("unknown token '" ^ to_string x ^ "' in meta file\n" ^ 429 | (String.concat " " (List.map to_string xs))))) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type t. File "obuild/meta.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "obuild/meta.ml", line 5, characters 0-11: 5 | open Helper ^^^^^^^^^^^ Warning 33 [unused-open]: unused open Helper. File "obuild/meta.ml", line 6, characters 0-10: 6 | open Gconf ^^^^^^^^^^ Warning 33 [unused-open]: unused open Gconf. [30 of 57] Compiling Obuild.Metacache File "obuild/hier.ml", line 88, characters 15-34: 88 | let name = String.uncapitalize modname in ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "obuild/hier.ml", line 194, characters 28-45: 194 | let m = try Modname.wrap (String.capitalize name) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. File "obuild/hier.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "obuild/hier.ml", line 3, characters 0-10: 3 | open Types ^^^^^^^^^^ Warning 33 [unused-open]: unused open Types. [31 of 57] Compiling Obuild.Target File "obuild/metacache.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "obuild/metacache.ml", line 1, characters 0-9: 1 | open Meta ^^^^^^^^^ Warning 33 [unused-open]: unused open Meta. File "obuild/target.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [32 of 57] Compiling Obuild.Project [33 of 57] Compiling Obuild.Dist File "obuild/dist.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "obuild/project.ml", line 84, characters 8-24: 84 | match String.lowercase value with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/project.ml", line 96, characters 53-70: 96 | let wrap_module_nice s = Hier.make [(Modname.wrap (String.capitalize s))] in ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. File "obuild/project.ml", line 105, characters 10-26: 105 | match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/project.ml", line 207, characters 15-31: 207 | match String.lowercase blockName with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/project.ml", line 224, characters 13-29: 224 | (match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/project.ml", line 255, characters 17-33: 255 | match String.lowercase blockName with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/project.ml", line 267, characters 13-29: 267 | (match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/project.ml", line 386, characters 13-29: 386 | (match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/project.ml", line 477, characters 15-31: 477 | match String.lowercase blockName with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/project.ml", line 488, characters 14-30: 488 | match String.lowercase k with ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/project.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [34 of 57] Compiling Obuild.Analyze File "obuild/analyze.ml", lines 59-61, characters 8-31: 59 | ........match name with 60 | | Name.Lib lname -> Some lname 61 | | _ -> None Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Target.Name.t. File "obuild/analyze.ml", line 110, characters 23-39: 110 | Hashtbl.add h (String.lowercase k) (default "" v) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "obuild/analyze.ml", lines 184-191, characters 22-35: 184 | ......................match preds with 185 | | [Meta.Predicate.Toploop] -> () 186 | | _ -> 187 | List.iter (fun reqDep -> 188 | verbose Debug " library %s depends on %s\n" (Libname.to_string dep) (Libname.to_string reqDep); 189 | Dag.addEdge (Dependency dep) (Dependency reqDep) depsDag; 190 | loop reqDep 191 | ) reqDeps Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Meta.Predicate.t. File "obuild/analyze.ml", lines 208-211, characters 10-11: 208 | ..........(match target.target_name with 209 | | Name.Lib l -> Dag.addNode (Dependency l) depsDag; Dag.addEdge (Dependency l) 210 | | _ -> fun _ _ -> () 211 | ) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Target.Name.t. File "obuild/analyze.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [35 of 57] Compiling Obuild.Configure [36 of 57] Compiling Obuild.Prepare File "obuild/configure.ml", line 34, characters 57-73: 34 | add (sprintf "#define PROJECT_FLAG_%s %d\n" (String.uppercase name) (if v then 1 else 0)) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uppercase Use String.uppercase_ascii/StringLabels.uppercase_ascii instead. File "obuild/configure.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "obuild/prepare.ml", lines 168-170, characters 8-32: 168 | ........match node with 169 | | Dependency dep -> Some dep 170 | | _ -> None Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Analyze.dependency_tag. File "obuild/prepare.ml", lines 218-228, characters 17-15: 218 | .................(match Filetype.of_filepath fp with 219 | | Filetype.FileML -> Some (Modname.of_filename f) 220 | | Filetype.FileMLI -> 221 | if (Filesystem.exists (srcDir ((chop_extension f) <.> "ml"))) then 222 | None ... 225 | | Filetype.FileOther s -> if Generators.is_generator_ext s then Some (Modname.of_filename f) 226 | else None 227 | | _ -> None 228 | ) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Filetype.t. File "obuild/prepare.ml", line 379, characters 10-113: 379 | (match file_entry with Hier.FileEntry _ -> SimpleModule | Hier.GeneratedFileEntry _ -> GeneratedModule) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 8 [partial-match]: this pattern-matching is not exhaustive. Here is an example of a case that is not matched: DirectoryEntry _ File "obuild/prepare.ml", lines 489-493, characters 10-19: 489 | ..........match r with 490 | | CompileModule _ | CompileDirectory _-> 491 | Dag.addEdge (LinkTarget target) r stepsDag; 492 | Dag.addEdge (CheckTarget target) (LinkTarget target) stepsDag; 493 | | _ -> () Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type compile_step. File "obuild/prepare.ml", lines 552-554, characters 6-18: 552 | ......match Hashtbl.find conf.project_dep_data dep with 553 | | Internal -> true 554 | | _ -> false............ Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Analyze.dep_type. File "obuild/prepare.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "obuild/prepare.ml", line 202, characters 9-16: 202 | let (srcPath,srcDir) = ^^^^^^^ Warning 27 [unused-var-strict]: unused variable srcPath. File "obuild/prepare.ml", line 233, characters 13-20: 233 | let (srcPath, srcFile, intfFile) = ^^^^^^^ Warning 27 [unused-var-strict]: unused variable srcPath. File "obuild/prepare.ml", line 239, characters 37-41: 239 | | Hier.GeneratedFileEntry (path, file, generated) -> ^^^^ Warning 27 [unused-var-strict]: unused variable path. [37 of 57] Compiling Obuild.Buildprogs File "obuild/buildprogs.ml", lines 69-73, characters 14-73: 69 | ..............function 70 | | Filetype.FileML -> ext 71 | | Filetype.FileMLI -> Filetype.FileCMI 72 | | _ -> (* It should not happen *) 73 | if buildMode = ByteCode then Filetype.FileCMO else Filetype.FileCMX Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Filetype.t. File "obuild/buildprogs.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "obuild/buildprogs.ml", line 66, characters 17-23: 66 | let runOcamlPack srcDir dstDir annotMode buildMode packOpt dest modules = ^^^^^^ Warning 27 [unused-var-strict]: unused variable srcDir. [38 of 57] Compiling Obuild.Build File "obuild/build.ml", lines 60-72, characters 45-7: 60 | .............................................( 61 | match srcTy with 62 | | Filetype.FileCMX | Filetype.FileCMO -> 63 | let bml = Filetype.replace_extension bdest Filetype.FileML in 64 | let bmli = Filetype.replace_extension bdest Filetype.FileMLI in ... 69 | "Library changed " ^ fp_to_string changedSrc 70 | | _ -> 71 | "Dependencies changed " ^ fp_to_string changedSrc 72 | ) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Filetype.t. File "obuild/build.ml", lines 59-80, characters 4-42: 59 | ....match Filetype.of_filename bdest with 60 | | Filetype.FileCMX | Filetype.FileCMO -> ( 61 | match srcTy with 62 | | Filetype.FileCMX | Filetype.FileCMO -> 63 | let bml = Filetype.replace_extension bdest Filetype.FileML in ... 77 | else if bh = bsrc then ("H file " ^ fn_to_string bsrc ^ " changed") 78 | else ("file changed " ^ fp_to_string changedSrc) 79 | | _ -> 80 | fp_to_string changedSrc ^ " changed" Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Filetype.t. File "obuild/build.ml", line 89, characters 6-63: 89 | match (t,o) with (ByteCode,WithProf) -> false | _ -> true) all_modes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Types.ocaml_compiled_type. File "obuild/build.ml", line 89, characters 6-63: 89 | match (t,o) with (ByteCode,WithProf) -> false | _ -> true) all_modes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Types.ocaml_compilation_option. File "obuild/build.ml", lines 150-155, characters 20-21: 150 | ....................match e with 151 | Hier.FileEntry (_, f) -> 152 | if (Filetype.of_filepath f) = Filetype.FileMLI then 153 | Some m 154 | else None 155 | | _ -> None Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Hier.file_entry. File "obuild/build.ml", lines 349-351, characters 22-24: 349 | ......................match compileOpt with 350 | | WithProf -> Meta.Predicate.Gprof :: preds 351 | | _ -> preds Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Types.ocaml_compilation_option. File "obuild/build.ml", lines 360-368, characters 13-58: 360 | .............match target.target_name with 361 | | Name.Lib libname -> 362 | if plugin then 363 | cstate.compilation_builddir_ml Normal Libname.to_cmxs compileOpt libname 364 | else 365 | cstate.compilation_builddir_ml Normal Libname.to_cmca compiledType compileOpt libname 366 | | _ -> 367 | let outputName = Utils.to_exe_name compileOpt compiledType (Target.get_target_dest_name target) in 368 | cstate.compilation_builddir_ml Normal outputName Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Target.Name.t. File "obuild/build.ml", lines 481-483, characters 40-51: 481 | ........................................match task with 482 | | CompileC _ -> raise (CCompilationFailed er) 483 | | _ -> raise (CompilationFailed er) Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Prepare.compile_step. File "obuild/build.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [39 of 57] Compiling Obuild.Exception File "obuild/exception.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [40 of 57] Packing Obuild [41 of 57] Linking library dist/build/lib-obuild/obuild.cmxa [41 of 57] Linking library dist/build/lib-obuild/obuild.cmxs [41 of 57] Linking library dist/build/lib-obuild/obuild.cma [42 of 57] Checking dist/build/lib-obuild [43 of 57] Compiling Assimilate_oasis [44 of 57] Compiling Simple File "tools/assimilate_oasis.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [45 of 57] Compiling Install File "src/install.ml", lines 21-24, characters 6-35: 21 | ......match Filetype.of_filepath (build_dir f) with 22 | | Filetype.FileCMX | Filetype.FileCMI | Filetype.FileA | Filetype.FileCMXS 23 | | Filetype.FileCMXA | Filetype.FileCMA | Filetype.FileCMT | Filetype.FileCMTI -> true 24 | | _ -> false. Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Obuild.Filetype.t. File "src/install.ml", lines 27-29, characters 4-31: 27 | ....match Filetype.of_filepath (build_dir f) with 28 | | Filetype.FileEXE -> true 29 | | _ -> false. Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Obuild.Filetype.t. File "src/install.ml", lines 43-44, characters 31-76: 43 | ...............................match target.target_name with 44 | | Name.Lib _ -> print_target_files target list_lib_files | _ -> ().............. Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Obuild.Target.Name.t. File "src/install.ml", lines 47-48, characters 31-76: 47 | ...............................match target.target_name with 48 | | Name.Exe _ -> print_target_files target list_exe_files | _ -> ().............. Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Obuild.Target.Name.t. File "src/install.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [46 of 57] Compiling Doc File "src/doc.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "src/doc.ml", line 15, characters 8-16: 15 | let run projFile = ^^^^^^^^ Warning 27 [unused-var-strict]: unused variable projFile. [47 of 57] Compiling Sdist File "src/simple.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [48 of 57] Compiling Help File "src/help.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [49 of 57] Compiling Path_generated File "dist/build/autogen/path_generated.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [50 of 57] Compiling Init File "src/sdist.ml", lines 28-30, characters 14-38: 28 | ..............match Filetype.of_filepath fpath with 29 | | Filetype.FileML | Filetype.FileMLI -> Filesystem.copy_to_dir fpath dest 30 | | _ -> () Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Obuild.Filetype.t. File "src/sdist.ml", lines 36-38, characters 12-21: 36 | ............match Filetype.of_filepath fpath with 37 | | Filetype.FileC | Filetype.FileH -> Filesystem.copy_to_dir fpath dest 38 | | _ -> () Warning 4 [fragile-match]: this pattern-matching is fragile. It will remain exhaustive when constructors are added to type Obuild.Filetype.t. File "src/sdist.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. File "src/sdist.ml", line 9, characters 17-27: 9 | let run projFile isSnapshot = ^^^^^^^^^^ Warning 27 [unused-var-strict]: unused variable isSnapshot. [51 of 57] Linking executable dist/build/obuild-from-oasis/obuild-from-oasis File "src/init.ml", line 98, characters 45-62: 98 | let modules = List.map (fun m -> String.capitalize $ strip_ext ~ext:".ml" m) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. File "src/init.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [52 of 57] Linking executable dist/build/obuild-simple/obuild-simple [53 of 57] Compiling Main [54 of 57] Checking dist/build/obuild-from-oasis [55 of 57] Checking dist/build/obuild-simple File "src/main.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. [56 of 57] Linking executable dist/build/obuild/obuild [57 of 57] Checking dist/build/obuild real 0m8.548s user 0m9.123s sys 0m1.900s make[1]: Leaving directory '/build/ocaml-obuild-0.1.10' fakeroot debian/rules binary dh binary --with ocaml dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/ocaml-obuild-0.1.10' diff -u debian/ocaml-obuild.opam-install obuild.install make[1]: Leaving directory '/build/ocaml-obuild-0.1.10' debian/rules override_dh_install make[1]: Entering directory '/build/ocaml-obuild-0.1.10' mkdir -p "/build/ocaml-obuild-0.1.10/debian/ocaml-obuild/usr/bin" cp "dist/build/obuild/obuild" "dist/build/obuild-simple/obuild-simple" "/build/ocaml-obuild-0.1.10/debian/ocaml-obuild/usr/bin" make[1]: Leaving directory '/build/ocaml-obuild-0.1.10' dh_ocamldoc dh_installdocs dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installman dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_perl dh_link dh_strip_nondeterminism dh_compress dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms dh_missing dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_makeshlibs dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdeb dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_ocaml dh_gencontrol dpkg-gencontrol: warning: Depends field of package ocaml-obuild: substitution variable ${ocaml:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package ocaml-obuild: substitution variable ${ocaml:Depends} used, but is not defined dh_md5sums dh_builddeb dpkg-deb: building package 'ocaml-obuild' in '../ocaml-obuild_0.1.10-3_arm64.deb'. dpkg-deb: building package 'ocaml-obuild-dbgsym' in '../ocaml-obuild-dbgsym_0.1.10-3_arm64.deb'. dpkg-genbuildinfo --build=binary -O../ocaml-obuild_0.1.10-3_arm64.buildinfo dpkg-genchanges --build=binary -O../ocaml-obuild_0.1.10-3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/13120/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/13120/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/13120 and its subdirectories I: Current time: Fri Apr 14 08:31:13 +14 2023 I: pbuilder-time-stamp: 1681410673