OCamllabs icon Home|Differences with the last checks|Previous runs


Building on x86-bm-14.ocamllabs.io

(from ocaml/opam:debian-unstable@sha256:286b1a07f166d69599599e77d36ff670e397cb189a08f108911b5151b4668ce1)
2022-06-02 21:45.06 ---> using "47ed2e5e0feee1987ba23dd55270cc6ad201fc29c17004e34e901e030428f794" from cache

/: (user (uid 1000) (gid 1000))

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2022-06-02 21:45.06 ---> using "4a75653e8e13af1975fafc6190bea646f6c5227de6a31d9a10c263381aa24cc1" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q acdf0fda43c6ad752dca7fbab614d7a45df50538"))
2022-06-02 21:45.06 ---> using "e017e24311b2d1facae68aa054d4808ac0fd85da474fe18b5feb752a484a7401" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

2022-06-02 21:45.06 ---> using "fe4ab29b581b2ba4fc496c6fcd5cd0653b4902fb6da880b540dae71463661523" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '5.0' '5.0.0+trunk'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "5.0.0+trunk"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-variants.5.0.0+trunk  (https://github.com/ocaml/ocaml/archive/trunk.tar.gz)
-> installed ocaml-variants.5.0.0+trunk
-> installed ocaml-config.3
-> installed ocaml.5.0.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# Run eval $(opam env --switch=5.0) to update the current shell environment
2022-06-02 21:45.06 ---> using "29d41a14dd7a41042cb73eaaeb90a277bd24410b4169c6d4a5c606f93db693e4" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [165 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-06-02-2003.50-F-2022-06-01-1416.25.pdiff [73.9 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-06-02-2003.50-F-2022-06-01-1416.25.pdiff [73.9 kB]
- Fetched 303 kB in 2s (152 kB/s)
- Reading package lists...
- 
2022-06-02 21:45.06 ---> using "b4aefd8d042c8fcd5e409d9a7cda153a8aa244339a57738ac872ec4928511229" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"apron.20151015\"\
               \nopam install -vy \"apron.20151015\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"apron.20151015\" | grep -q '\"debian-unstable\"'; then\
               \n        echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
               \n        exit 69\
               \n    fi\
               \nfi\
               \n\
               \n\
               \nexit $res\
               \n"))
[NOTE] apron.20151015 is not installed.

Nothing to do.
The following actions will be performed:
=== install 8 packages
  - install apron           20151015
  - install camlidl         1.09     [required by apron]
  - install conf-gmp        4        [required by mlgmpidl]
  - install conf-mpfr       3        [required by mlgmpidl]
  - install conf-perl       2        [required by apron]
  - install conf-pkg-config 2        [required by conf-mpfr]
  - install mlgmpidl        1.2.14   [required by apron]
  - install ocamlfind       1.9.3    [required by apron]

The following system packages will first need to be installed:
    libgmp-dev libmpfr-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Attempt installation anyway, and permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "libmpfr-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (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 ... 18687 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.72.1-1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.72.1-1) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.72.1-1_all.deb ...
- Unpacking libglib2.0-data (2.72.1-1) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../2-libgmpxx4ldbl_2%3a6.2.1+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../3-libgmp-dev_2%3a6.2.1+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-3) ...
- Selecting previously unselected package libicu71:amd64.
- Preparing to unpack .../4-libicu71_71.1-3_amd64.deb ...
- Unpacking libicu71:amd64 (71.1-3) ...
- Selecting previously unselected package libmpfr-dev:amd64.
- Preparing to unpack .../5-libmpfr-dev_4.1.0-3_amd64.deb ...
- Unpacking libmpfr-dev:amd64 (4.1.0-3) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../6-libxml2_2.9.14+dfsg-1_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../7-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../8-shared-mime-info_2.2-1_amd64.deb ...
- Unpacking shared-mime-info (2.2-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../9-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu71:amd64 (71.1-3) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.72.1-1) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.72.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-3) ...
- Setting up libmpfr-dev:amd64 (4.1.0-3) ...
- Setting up shared-mime-info (2.2-1) ...
- Processing triggers for libc-bin (2.33-7) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/24:
Processing  2/24:
Processing  3/24:
Processing  4/24:
Processing  5/24:
Processing  6/24:
Processing  7/24:
Processing  8/24: [conf-gmp: sh]
Processing  9/24: [conf-gmp: sh] [conf-perl: perl]
Processing 10/24: [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config]
-> retrieved mlgmpidl.1.2.14  (cached)
Processing 11/24: [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config]
-> retrieved camlidl.1.09  (cached)
Processing 12/24: [camlidl: mv] [conf-gmp: sh] [conf-perl: perl] [conf-pkg-config: pkg-config]
-> retrieved apron.20151015  (cached)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c" (CWD=/home/opam/.opam/5.0/.opam-switch/build/conf-gmp.4)
- + cc -c -I/usr/local/include test.c
-> compiled  conf-gmp.4
Processing 12/24: [camlidl: mv] [conf-perl: perl] [conf-pkg-config: pkg-config]
-> installed conf-gmp.4
Processing 13/24: [camlidl: mv] [conf-perl: perl] [conf-pkg-config: pkg-config]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "perl" "--version" (CWD=/home/opam/.opam/5.0/.opam-switch/build/conf-perl.2)
- 
- This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-gnu-thread-multi
- (with 51 registered patches, see perl -V for more detail)
- 
- Copyright 1987-2021, Larry Wall
- 
- Perl may be copied only under the terms of either the Artistic License or the
- GNU General Public License, which may be found in the Perl 5 source kit.
- 
- Complete documentation for Perl, including FAQ lists, should be found on
- this system using "man perl" or "perldoc perl".  If you have access to the
- Internet, point your browser at http://www.perl.org/, the Perl Home Page.
- 
-> compiled  conf-perl.2
Processing 13/24: [camlidl: mv] [conf-pkg-config: pkg-config]
-> installed conf-perl.2
Processing 14/24: [camlidl: mv] [conf-pkg-config: pkg-config]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/5.0/.opam-switch/build/conf-pkg-config.2)
- Usage:
-   pkg-config [OPTION?]
- 
- Help Options:
-   -h, --help                              Show help options
- 
- Application Options:
-   --version                               output version of pkg-config
-   --modversion                            output version for package
-   --atleast-pkgconfig-version=VERSION     require given version of pkg-config
-   --libs                                  output all linker flags
-   --static                                output linker flags for static linking
-   --short-errors                          print short errors
-   --libs-only-l                           output -l flags
-   --libs-only-other                       output other libs (e.g. -pthread)
-   --libs-only-L                           output -L flags
-   --cflags                                output all pre-processor and compiler flags
-   --cflags-only-I                         output -I flags
-   --cflags-only-other                     output cflags not covered by the cflags-only-I option
-   --variable=NAME                         get the value of variable named NAME
-   --define-variable=NAME=VALUE            set variable NAME to VALUE
-   --exists                                return 0 if the module(s) exist
-   --print-variables                       output list of variables defined by the module
-   --uninstalled                           return 0 if the uninstalled version of one or more module(s) or their dependencies will be used
-   --atleast-version=VERSION               return 0 if the module is at least version VERSION
-   --exact-version=VERSION                 return 0 if the module is at exactly version VERSION
-   --max-version=VERSION                   return 0 if the module is at no newer than version VERSION
-   --list-all                              list all known packages
-   --debug                                 show verbose debug information
-   --print-errors                          show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line)
-   --silence-errors                        be silent about errors (default when --exists or --atleast/exact/max-version given on the command line)
-   --errors-to-stdout                      print errors from --print-errors to stdout not stderr
-   --print-provides                        print which packages the package provides
-   --print-requires                        print which packages the package requires
-   --print-requires-private                print which packages the package requires for static linking
-   --validate                              validate a package's .pc file
-   --define-prefix                         try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --dont-define-prefix                    don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file
-   --prefix-variable=PREFIX                set the name of the variable that pkg-config automatically sets
- 
-> compiled  conf-pkg-config.2
Processing 14/24: [camlidl: mv]
Processing 15/24: [camlidl: mv] [conf-pkg-config: mkdir]
-> retrieved ocamlfind.1.9.3  (cached)
Processing 16/24: [camlidl: mv] [ocamlfind: ./configure] [conf-pkg-config: mkdir]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mv" "config/Makefile.unix" "config/Makefile" (CWD=/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09)
Processing 16/24: [camlidl: make all] [ocamlfind: ./configure] [conf-pkg-config: mkdir]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/5.0/lib/pkgconfig" (CWD=/home/opam/.opam/5.0/.opam-switch/build/conf-pkg-config.2)
-> installed conf-pkg-config.2
Processing 16/24: [camlidl: make all] [ocamlfind: ./configure]
Processing 17/24: [camlidl: make all] [conf-mpfr: sh pkg-config --print-errors --exists mpfr || cc test.c -lgmp -lmpfr] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-exc" "pkg-config --print-errors --exists mpfr || cc test.c -lgmp -lmpfr" (CWD=/home/opam/.opam/5.0/.opam-switch/build/conf-mpfr.3)
- + pkg-config --print-errors --exists mpfr
-> compiled  conf-mpfr.3
Processing 17/24: [camlidl: make all] [ocamlfind: ./configure]
-> installed conf-mpfr.3
Processing 18/24: [camlidl: make all] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/5.0/bin" "-sitelib" "/home/opam/.opam/5.0/lib" "-mandir" "/home/opam/.opam/5.0/man" "-config" "/home/opam/.opam/5.0/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3)
- Welcome to findlib version 1.9.3
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- File "_none_", line 1:
- Alert ocaml_deprecated_auto_include: 
- OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
- automatically added to the search path, but you should add -I +unix to the
- command-line to silence this alert (e.g. by adding unix to the list of
- libraries in your dune file, or adding use_unix to your _tags file for
- ocamlbuild, or using -package unix for ocamlfind).
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Querying installation: META list not found
- make install will double-check installed META files
- Configuring libraries...
- unix: not present (possible since 4.08)
- configure: ocamlfind requires OCaml's Unix library
[ERROR] The compilation of ocamlfind.1.9.3 failed at "./configure -bindir /home/opam/.opam/5.0/bin -sitelib /home/opam/.opam/5.0/lib -mandir /home/opam/.opam/5.0/man -config /home/opam/.opam/5.0/lib/findlib.conf -no-custom -no-camlp4".
Processing 18/24: [camlidl: make all]
Processing 19/24: [camlidl: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09)
- cd compiler; make all
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09/compiler'
- rm -f config.ml
- sed -e 's|%%CPP%%|cpp|' \
-           config.mlp > config.ml
- chmod -w config.ml
- ocamlc -g -c config.mli
- ocamlc -g -c config.ml
- ocamlc -g -c utils.mli
- ocamlc -g -c utils.ml
- ocamlc -g -c clflags.ml
- ocamlc -g -c idltypes.mli
- ocamlc -g -c prefix.mli
- ocamlc -g -c prefix.ml
- ocamlc -g -c lexpr.mli
- ocamlc -g -c lexpr.ml
- ocamlc -g -c cvttyp.mli
- ocamlc -g -c cvttyp.ml
- ocamlc -g -c variables.mli
- ocamlc -g -c variables.ml
- ocamlc -g -c idlarray.mli
- ocamlc -g -c idlarray.ml
- ocamlc -g -c struct.mli
- ocamlc -g -c struct.ml
- ocamlc -g -c enum.mli
- ocamlc -g -c enum.ml
- ocamlc -g -c union.mli
- ocamlc -g -c union.ml
- ocamlc -g -c cvtval.mli
- ocamlc -g -c cvtval.ml
- ocamlc -g -c structdecl.mli
- ocamlc -g -c structdecl.ml
- ocamlc -g -c enumdecl.mli
- ocamlc -g -c enumdecl.ml
- ocamlc -g -c uniondecl.mli
- ocamlc -g -c uniondecl.ml
- ocamlc -g -c typedef.mli
- ocamlc -g -c typedef.ml
- ocamlc -g -c funct.mli
- ocamlc -g -c funct.ml
- ocamlc -g -c constdecl.mli
- ocamlc -g -c constdecl.ml
- ocamlc -g -c intf.mli
- ocamlc -g -c intf.ml
- ocamlc -g -c file.mli
- ocamlc -g -c file.ml
- ocamlc -g -c predef.mli
- ocamlc -g -c predef.ml
- ocamllex linenum.mll
- 16 states, 331 transitions, table size 1420 bytes
- ocamlc -g -c linenum.mli
- ocamlc -g -c linenum.ml
- ocamlc -g -c parse_aux.mli
- ocamlc -g -c parse_aux.ml
- ocamlyacc -v parser_midl.mly
- 12 shift/reduce conflicts, 4 reduce/reduce conflicts.
- ocamlc -g -c parser_midl.mli
- ocamlc -g -c parser_midl.ml
- ocamllex lexer_midl.mll
- 129 states, 1747 transitions, table size 7762 bytes
- ocamlc -g -c lexer_midl.mli
- ocamlc -g -c lexer_midl.ml
- ocamlc -g -c parse.mli
- ocamlc -g -c parse.ml
- ocamlc -g -c fixlabels.mli
- ocamlc -g -c fixlabels.ml
- ocamlc -g -c normalize.mli
- ocamlc -g -c normalize.ml
- ocamlc -g -c main.ml
- ocamlc -g -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo idlarray.cmo struct.cmo enum.cmo union.cmo cvtval.cmo structdecl.cmo enumdecl.cmo uniondecl.cmo typedef.cmo funct.cmo constdecl.cmo intf.cmo file.cmo predef.cmo linenum.cmo parse_aux.cmo parser_midl.cmo lexer_midl.cmo parse.cmo fixlabels.cmo normalize.cmo main.cmo
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09/compiler'
- cd runtime; make all
- make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09/runtime'
- ocamlc -g -ccopt "-Wall -g" idlalloc.c
- idlalloc.c: In function 'camlidl_find_enum':
- idlalloc.c:35:3: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
-    35 |   invalid_argument(errmsg);
-       |   ^~~~~~~~~~~~~~~~
-       |   caml_invalid_argument
- idlalloc.c: In function 'camlidl_alloc_flag_list':
- idlalloc.c:47:19: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration]
-    47 |         value v = alloc_small(2, 0);
-       |                   ^~~~~~~~~~~
-       |                   caml_alloc_small
- idlalloc.c: In function 'camlidl_register_allocation':
- idlalloc.c:73:7: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration]
-    73 |       stat_alloc(sizeof(struct camlidl_block_list));
-       |       ^~~~~~~~~~
- idlalloc.c:73:7: warning: initialization of 'struct camlidl_block_list *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
- idlalloc.c: In function 'camlidl_malloc':
- idlalloc.c:95:16: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
-    95 |   void * res = stat_alloc(sz);
-       |                ^~~~~~~~~~
- idlalloc.c:96:31: error: 'stat_free' undeclared (first use in this function); did you mean 'caml_stat_free'?
-    96 |   camlidl_register_allocation(stat_free, res, ctx);
-       |                               ^~~~~~~~~
-       |                               caml_stat_free
- idlalloc.c:96:31: note: each undeclared identifier is reported only once for each function it appears in
- idlalloc.c: In function 'camlidl_free':
- idlalloc.c:108:5: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration]
-   108 |     stat_free(tmp);
-       |     ^~~~~~~~~
-       |     caml_stat_free
- idlalloc.c: In function 'camlidl_malloc_string':
- idlalloc.c:114:18: warning: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
-   114 |   mlsize_t len = string_length(mlstring);
-       |                  ^~~~~~~~~~~~~
-       |                  caml_string_length
- make[1]: *** [Makefile.unix:40: idlalloc.o] Error 2
- make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09/runtime'
- make: *** [Makefile:19: all] Error 2
[ERROR] The compilation of camlidl.1.09 failed at "make all".

#=== ERROR while compiling ocamlfind.1.9.3 ====================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.0.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/ocamlfind.1.9.3
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./configure -bindir /home/opam/.opam/5.0/bin -sitelib /home/opam/.opam/5.0/lib -mandir /home/opam/.opam/5.0/man -config /home/opam/.opam/5.0/lib/findlib.conf -no-custom -no-camlp4
# exit-code            1
# env-file             ~/.opam/log/ocamlfind-11-e161a2.env
# output-file          ~/.opam/log/ocamlfind-11-e161a2.out
### output ###
# Welcome to findlib version 1.9.3
# Configuring core...
# Checking for #remove_directory...
# Testing threading model...
# systhread_supported: true
# Testing DLLs...
# File "_none_", line 1:
# Alert ocaml_deprecated_auto_include: 
# OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
# automatically added to the search path, but you should add -I +unix to the
# command-line to silence this alert (e.g. by adding unix to the list of
# libraries in your dune file, or adding use_unix to your _tags file for
# ocamlbuild, or using -package unix for ocamlfind).
# Testing whether ppxopt can be supported...
# Checking for ocamlc -opaque...
# Querying installation: META list not found
# make install will double-check installed META files
# Configuring libraries...
# unix: not present (possible since 4.08)
# configure: ocamlfind requires OCaml's Unix library


#=== ERROR while compiling camlidl.1.09 =======================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.0.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/camlidl.1.09
# command              ~/.opam/opam-init/hooks/sandbox.sh build make all
# exit-code            2
# env-file             ~/.opam/log/camlidl-11-befbd0.env
# output-file          ~/.opam/log/camlidl-11-befbd0.out
### output ###
# cd compiler; make all
# make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09/compiler'
# rm -f config.ml
# sed -e 's|%%CPP%%|cpp|' \
#           config.mlp > config.ml
# chmod -w config.ml
# ocamlc -g -c config.mli
# ocamlc -g -c config.ml
# ocamlc -g -c utils.mli
# ocamlc -g -c utils.ml
# ocamlc -g -c clflags.ml
# ocamlc -g -c idltypes.mli
# ocamlc -g -c prefix.mli
# ocamlc -g -c prefix.ml
# ocamlc -g -c lexpr.mli
# ocamlc -g -c lexpr.ml
# ocamlc -g -c cvttyp.mli
# ocamlc -g -c cvttyp.ml
# ocamlc -g -c variables.mli
# ocamlc -g -c variables.ml
# ocamlc -g -c idlarray.mli
# ocamlc -g -c idlarray.ml
# ocamlc -g -c struct.mli
# ocamlc -g -c struct.ml
# ocamlc -g -c enum.mli
# ocamlc -g -c enum.ml
# ocamlc -g -c union.mli
# ocamlc -g -c union.ml
# ocamlc -g -c cvtval.mli
# ocamlc -g -c cvtval.ml
# ocamlc -g -c structdecl.mli
# ocamlc -g -c structdecl.ml
# ocamlc -g -c enumdecl.mli
# ocamlc -g -c enumdecl.ml
# ocamlc -g -c uniondecl.mli
# ocamlc -g -c uniondecl.ml
# ocamlc -g -c typedef.mli
# ocamlc -g -c typedef.ml
# ocamlc -g -c funct.mli
# ocamlc -g -c funct.ml
# ocamlc -g -c constdecl.mli
# ocamlc -g -c constdecl.ml
# ocamlc -g -c intf.mli
# ocamlc -g -c intf.ml
# ocamlc -g -c file.mli
# ocamlc -g -c file.ml
# ocamlc -g -c predef.mli
# ocamlc -g -c predef.ml
# ocamllex linenum.mll
# 16 states, 331 transitions, table size 1420 bytes
# ocamlc -g -c linenum.mli
# ocamlc -g -c linenum.ml
# ocamlc -g -c parse_aux.mli
# ocamlc -g -c parse_aux.ml
# ocamlyacc -v parser_midl.mly
# 12 shift/reduce conflicts, 4 reduce/reduce conflicts.
# ocamlc -g -c parser_midl.mli
# ocamlc -g -c parser_midl.ml
# ocamllex lexer_midl.mll
# 129 states, 1747 transitions, table size 7762 bytes
# ocamlc -g -c lexer_midl.mli
# ocamlc -g -c lexer_midl.ml
# ocamlc -g -c parse.mli
# ocamlc -g -c parse.ml
# ocamlc -g -c fixlabels.mli
# ocamlc -g -c fixlabels.ml
# ocamlc -g -c normalize.mli
# ocamlc -g -c normalize.ml
# ocamlc -g -c main.ml
# ocamlc -g -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo idlarray.cmo struct.cmo enum.cmo union.cmo cvtval.cmo structdecl.cmo enumdecl.cmo uniondecl.cmo typedef.cmo funct.cmo constdecl.cmo intf.cmo file.cmo predef.cmo linenum.cmo parse_aux.cmo parser_midl.cmo lexer_midl.cmo parse.cmo fixlabels.cmo normalize.cmo main.cmo
# make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09/compiler'
# cd runtime; make all
# make[1]: Entering directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09/runtime'
# ocamlc -g -ccopt "-Wall -g" idlalloc.c
# idlalloc.c: In function 'camlidl_find_enum':
# idlalloc.c:35:3: warning: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
#    35 |   invalid_argument(errmsg);
#       |   ^~~~~~~~~~~~~~~~
#       |   caml_invalid_argument
# idlalloc.c: In function 'camlidl_alloc_flag_list':
# idlalloc.c:47:19: warning: implicit declaration of function 'alloc_small'; did you mean 'caml_alloc_small'? [-Wimplicit-function-declaration]
#    47 |         value v = alloc_small(2, 0);
#       |                   ^~~~~~~~~~~
#       |                   caml_alloc_small
# idlalloc.c: In function 'camlidl_register_allocation':
# idlalloc.c:73:7: warning: implicit declaration of function 'stat_alloc' [-Wimplicit-function-declaration]
#    73 |       stat_alloc(sizeof(struct camlidl_block_list));
#       |       ^~~~~~~~~~
# idlalloc.c:73:7: warning: initialization of 'struct camlidl_block_list *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
# idlalloc.c: In function 'camlidl_malloc':
# idlalloc.c:95:16: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
#    95 |   void * res = stat_alloc(sz);
#       |                ^~~~~~~~~~
# idlalloc.c:96:31: error: 'stat_free' undeclared (first use in this function); did you mean 'caml_stat_free'?
#    96 |   camlidl_register_allocation(stat_free, res, ctx);
#       |                               ^~~~~~~~~
#       |                               caml_stat_free
# idlalloc.c:96:31: note: each undeclared identifier is reported only once for each function it appears in
# idlalloc.c: In function 'camlidl_free':
# idlalloc.c:108:5: warning: implicit declaration of function 'stat_free'; did you mean 'caml_stat_free'? [-Wimplicit-function-declaration]
#   108 |     stat_free(tmp);
#       |     ^~~~~~~~~
#       |     caml_stat_free
# idlalloc.c: In function 'camlidl_malloc_string':
# idlalloc.c:114:18: warning: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
#   114 |   mlsize_t len = string_length(mlstring);
#       |                  ^~~~~~~~~~~~~
#       |                  caml_string_length
# make[1]: *** [Makefile.unix:40: idlalloc.o] Error 2
# make[1]: Leaving directory '/home/opam/.opam/5.0/.opam-switch/build/camlidl.1.09/runtime'
# make: *** [Makefile:19: all] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install apron    20151015
| - install mlgmpidl 1.2.14
+- 
+- The following actions failed
| - build camlidl   1.09
| - build ocamlfind 1.9.3
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-gmp        4
| - install conf-mpfr       3
| - install conf-perl       2
| - install conf-pkg-config 2
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.0/.opam-switch/backup/state-20220602214508.export"
'opam install -vy apron.20151015' failed.
"/bin/bash" "-c"
"
opam remove -y "apron.20151015"
opam install -vy "apron.20151015"
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: "apron.20151015" | grep -q '"debian-unstable"'; then
        echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
        exit 69
    fi
fi


exit $res
" failed with exit status 31
Failed: Build failed