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


Building on x86-bm-4.ocamllabs.io

(from ocaml/opam:debian-unstable)
WARNING: Error loading config file: .dockercfg: $HOME is not defined
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
68135aa25935: Already exists
8d0c9bba2586: Already exists
9fb9dc49cd29: Pulling fs layer
9fb9dc49cd29: Verifying Checksum
9fb9dc49cd29: Download complete
9fb9dc49cd29: Pull complete
Digest: sha256:08e91442c23cab4d184b2d9ddcde932a884dba3bc56949b94c27a81f1b4aa907
Status: Downloaded newer image for ocaml/opam:debian-unstable
2021-10-21 02:28.58 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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-2.1 /usr/bin/opam"))
2021-10-21 02:28.58 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'git://github.com/ocaml/opam-repository.git' ~/opam-repository && git -C ~/opam-repository checkout -q 53ec9a45898dcacb426391da813c036212d8d3e6"))
2021-10-21 02:28.58 ---> using "9e3c71f07cb8650e76491f4ea4380e82b420e7db844fb7309f51d1856544743c" 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.

2021-10-21 02:28.58 ---> using "27d1597f48f02b6b36c95df57225917e30e08bb54134379907bf74408f22b37a" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default 4.12.0"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.12.0"} | "ocaml-system" {= "4.12.0"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.12.0  (cached)
-> installed ocaml-base-compiler.4.12.0
-> installed ocaml-config.2
-> installed ocaml.4.12.0
Done.
# Run eval $(opam env --switch=4.12.0) to update the current shell environment
2021-10-21 02:28.58 ---> using "8a31330543f5fdfd670f546a5c15cb995ea2c691d54b70ece3dc8ca38686aba6" 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-2021-10-20-2007.27-F-2021-10-15-1401.30.pdiff [286 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2021-10-20-2007.27-F-2021-10-15-1401.30.pdiff [286 kB]
- Fetched 515 kB in 4s (119 kB/s)
- Reading package lists...
- 
2021-10-21 02:28.58 ---> using "ca05253e4211cfde0ce4a94939fcbbe3a7326da69c64c67c54be742109bb35b3" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"bjack.0.1.6\"\
               \nopam install -vy \"bjack.0.1.6\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"bjack.0.1.6\" | 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\
               \nif [ $res = 0 ]; then\
               \n    opam remove -y \"bjack.0.1.6\"\
               \n    opam install -vty \"bjack.0.1.6\"\
               \n    res=$?\
               \n    if [ $res = 20 ]; then\
               \n        res=0\
               \n    fi\
               \nfi\
               \n\
               \n\
               \nexit $res\
               \n"))
[NOTE] bjack.0.1.6 is not installed.

Nothing to do.
The following actions will be performed:
  - install conf-pkg-config    2     [required by bjack]
  - install dune               2.9.1 [required by bjack]
  - install conf-libsamplerate 1     [required by bjack]
  - install conf-jack          1     [required by bjack]
  - install result             1.5   [required by dune-configurator]
  - install csexp              1.5.1 [required by dune-configurator]
  - install dune-configurator  2.9.1 [required by bjack]
  - install bjack              0.1.6
===== 8 to install =====

The following system packages will first need to be installed:
    libjack-dev libsamplerate-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libjack-dev" "libsamplerate-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- (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 ... 18105 files and directories currently installed.)
- Preparing to unpack .../libuuid1_2.37.2-4_amd64.deb ...
- Unpacking libuuid1:amd64 (2.37.2-4) over (2.37.2-3) ...
- Setting up libuuid1:amd64 (2.37.2-4) ...
- 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 ... 18105 files and directories currently installed.)
- Preparing to unpack .../00-libglib2.0-0_2.70.0-1+b1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.70.0-1+b1) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../01-libglib2.0-data_2.70.0-1_all.deb ...
- Unpacking libglib2.0-data (2.70.0-1) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../02-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libjack0:amd64.
- Preparing to unpack .../03-libjack0_1%3a0.125.0-3+b1_amd64.deb ...
- Unpacking libjack0:amd64 (1:0.125.0-3+b1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../04-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package uuid-dev:amd64.
- Preparing to unpack .../05-uuid-dev_2.37.2-4_amd64.deb ...
- Unpacking uuid-dev:amd64 (2.37.2-4) ...
- Selecting previously unselected package libjack-dev.
- Preparing to unpack .../06-libjack-dev_1%3a0.125.0-3+b1_amd64.deb ...
- Unpacking libjack-dev (1:0.125.0-3+b1) ...
- Selecting previously unselected package libsamplerate0:amd64.
- Preparing to unpack .../07-libsamplerate0_0.2.2-1_amd64.deb ...
- Unpacking libsamplerate0:amd64 (0.2.2-1) ...
- Selecting previously unselected package libsamplerate0-dev:amd64.
- Preparing to unpack .../08-libsamplerate0-dev_0.2.2-1_amd64.deb ...
- Unpacking libsamplerate0-dev:amd64 (0.2.2-1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../09-libxml2_2.9.12+dfsg-5_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.12+dfsg-5) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../10-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../11-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.70.0-1+b1) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.70.0-1) ...
- Setting up libjack0:amd64 (1:0.125.0-3+b1) ...
- Setting up uuid-dev:amd64 (2.37.2-4) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libjack-dev (1:0.125.0-3+b1) ...
- Setting up libsamplerate0:amd64 (0.2.2-1) ...
- Setting up libxml2:amd64 (2.9.12+dfsg-5) ...
- Setting up libsamplerate0-dev:amd64 (0.2.2-1) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.32-4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/24:
Processing  2/24:
Processing  3/24:
Processing  4/24:
Processing  5/24:
Processing  6/24:
Processing  7/24: [conf-pkg-config: pkg-config]
-> retrieved bjack.0.1.6  (cached)
Processing  8/24: [conf-pkg-config: pkg-config]
-> retrieved csexp.1.5.1  (cached)
Processing  9/24: [conf-pkg-config: pkg-config]
-> retrieved dune.2.9.1  (cached)
Processing 10/24: [conf-pkg-config: pkg-config] [dune: ocaml bootstrap.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.12.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
- 
- 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 10/24: [dune: ocaml bootstrap.ml]
Processing 11/24: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir]
-> retrieved dune-configurator.2.9.1  (cached)
-> retrieved result.1.5  (cached)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.12.0/lib/pkgconfig" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/conf-pkg-config.2)
-> installed conf-pkg-config.2
Processing 11/24: [dune: ocaml bootstrap.ml]
Processing 12/24: [conf-jack: pkg-config jack] [dune: ocaml bootstrap.ml]
Processing 13/24: [conf-jack: pkg-config jack] [conf-libsamplerate: pkg-config samplerate] [dune: ocaml bootstrap.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--exists" "samplerate" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/conf-libsamplerate.1)
-> compiled  conf-libsamplerate.1
Processing 13/24: [conf-jack: pkg-config jack] [dune: ocaml bootstrap.ml]
-> installed conf-libsamplerate.1
Processing 14/24: [conf-jack: pkg-config jack] [dune: ocaml bootstrap.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--exists" "jack" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/conf-jack.1)
-> compiled  conf-jack.1
Processing 14/24: [dune: ocaml bootstrap.ml]
-> installed conf-jack.1
Processing 15/24: [dune: ocaml bootstrap.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dune.2.9.1)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 31
- 

Processing 15/24: [dune: ./dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "-p" "dune" "--profile" "dune-bootstrap" "-j" "31" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dune.2.9.1)
-> compiled  dune.2.9.1
-> installed dune.2.9.1
Processing 17/24: [csexp: dune build]
Processing 18/24: [csexp: dune build] [result: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "result" "-j" "31" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/result.1.5)
-> compiled  result.1.5
Processing 18/24: [csexp: dune build]
-> installed result.1.5
Processing 19/24: [csexp: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "31" "@install" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/csexp.1.5.1)
-> compiled  csexp.1.5.1
-> installed csexp.1.5.1
Processing 21/24: [dune-configurator: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "31" "@install" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/dune-configurator.2.9.1)
-> compiled  dune-configurator.2.9.1
-> installed dune-configurator.2.9.1
Processing 23/24: [bjack: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bjack" "-j" "31" "@install" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/bjack.0.1.6)
-          gcc src/jack_stubs.o
- In file included from /home/opam/.opam/4.12.0/lib/ocaml/caml/alloc.h:24,
-                  from jack_stubs.c:46:
- jack_stubs.c: In function 'caml_bjack_priv_value_int':
- /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   282 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- jack_stubs.c:84:13: note: in expansion of macro 'String_val'
-    84 |   char *s = String_val(name);
-       |             ^~~~~~~~~~
- jack_stubs.c: In function 'caml_bjack_open':
- /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 4 of 'JACK_Open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   282 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- jack_stubs.c:144:51: note: in expansion of macro 'String_val'
-   144 |       JACK_Open(drv, Int_val(bit_per_sample), &r, String_val(name),
-       |                                                   ^~~~~~~~~~
- In file included from jack_stubs.c:41:
- jack_wrapper.h:198:42: note: expected 'char *' but argument is of type 'const char *'
-   198 |               unsigned long *rate, char *client_name, char *server_name,
-       |                                    ~~~~~~^~~~~~~~~~~
- In file included from /home/opam/.opam/4.12.0/lib/ocaml/caml/alloc.h:24,
-                  from jack_stubs.c:46:
- /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 5 of 'JACK_Open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   282 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- jack_stubs.c:145:17: note: in expansion of macro 'String_val'
-   145 |                 String_val(server), Int_val(input_channels),
-       |                 ^~~~~~~~~~
- In file included from jack_stubs.c:41:
- jack_wrapper.h:198:61: note: expected 'char *' but argument is of type 'const char *'
-   198 |               unsigned long *rate, char *client_name, char *server_name,
-       |                                                       ~~~~~~^~~~~~~~~~~
- In file included from /home/opam/.opam/4.12.0/lib/ocaml/caml/alloc.h:24,
-                  from jack_stubs.c:46:
- jack_stubs.c: In function 'caml_bjack_read':
- /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   282 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- jack_stubs.c:225:10: note: in expansion of macro 'String_val'
-   225 |   memcpy(String_val(ans), buf, ret);
-       |          ^~~~~~~~~~
- In file included from jack_stubs.c:44:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
-> compiled  bjack.0.1.6
-> installed bjack.0.1.6
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
  - remove bjack 0.1.6

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   bjack.0.1.6
Done.
# Run eval $(opam env) to update the current shell environment
The following actions will be performed:
  - install bjack 0.1.6

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3:
-> retrieved bjack.0.1.6  (cached)
Processing  2/3: [bjack: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bjack" "-j" "31" "@install" "@runtest" (CWD=/home/opam/.opam/4.12.0/.opam-switch/build/bjack.0.1.6)
-          gcc src/jack_stubs.o
- In file included from /home/opam/.opam/4.12.0/lib/ocaml/caml/alloc.h:24,
-                  from jack_stubs.c:46:
- jack_stubs.c: In function 'caml_bjack_priv_value_int':
- /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   282 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- jack_stubs.c:84:13: note: in expansion of macro 'String_val'
-    84 |   char *s = String_val(name);
-       |             ^~~~~~~~~~
- jack_stubs.c: In function 'caml_bjack_open':
- /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 4 of 'JACK_Open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   282 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- jack_stubs.c:144:51: note: in expansion of macro 'String_val'
-   144 |       JACK_Open(drv, Int_val(bit_per_sample), &r, String_val(name),
-       |                                                   ^~~~~~~~~~
- In file included from jack_stubs.c:41:
- jack_wrapper.h:198:42: note: expected 'char *' but argument is of type 'const char *'
-   198 |               unsigned long *rate, char *client_name, char *server_name,
-       |                                    ~~~~~~^~~~~~~~~~~
- In file included from /home/opam/.opam/4.12.0/lib/ocaml/caml/alloc.h:24,
-                  from jack_stubs.c:46:
- /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 5 of 'JACK_Open' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   282 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- jack_stubs.c:145:17: note: in expansion of macro 'String_val'
-   145 |                 String_val(server), Int_val(input_channels),
-       |                 ^~~~~~~~~~
- In file included from jack_stubs.c:41:
- jack_wrapper.h:198:61: note: expected 'char *' but argument is of type 'const char *'
-   198 |               unsigned long *rate, char *client_name, char *server_name,
-       |                                                       ~~~~~~^~~~~~~~~~~
- In file included from /home/opam/.opam/4.12.0/lib/ocaml/caml/alloc.h:24,
-                  from jack_stubs.c:46:
- jack_stubs.c: In function 'caml_bjack_read':
- /home/opam/.opam/4.12.0/lib/ocaml/caml/mlvalues.h:282:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   282 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- jack_stubs.c:225:10: note: in expansion of macro 'String_val'
-   225 |   memcpy(String_val(ans), buf, ret);
-       |          ^~~~~~~~~~
- In file included from jack_stubs.c:44:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
-> compiled  bjack.0.1.6
-> installed bjack.0.1.6
Done.
# Run eval $(opam env) to update the current shell environment
2021-10-21 02:32.37 ---> saved as "6efdc527b9f014b4b0cda66eabae24a17f0edb2ec3211edc7154e1f32b7b30d1"
Job succeeded