Building on asteria.caelum.ci.dev
(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
2b4e043dbcdd: Pulling fs layer
2b4e043dbcdd: Verifying Checksum
2b4e043dbcdd: Download complete
2b4e043dbcdd: Pull complete
Digest: sha256:d4e15bc30526f3fcbcfffc6c3f61608b59f3cba339e5bc46d92219214a70f234
Status: Downloaded newer image for ocaml/opam:debian-unstable
2023-11-24 09:16.07 ---> 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-dev /usr/bin/opam"))
2023-11-24 09:16.07 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 94fc188d337b3ff337b5f8eea1b8560bad2fcf0e"))
2023-11-24 09:16.07 ---> using "b3373441b07600b62da22be571f25edfc8f2869f5ef136ddc2f5ba5a9eb4caf5" 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.
2023-11-24 09:16.07 ---> using "e830f2b53861fdb19bb0972e91e1b24c2f609e5efcde21a85bee38b465e51901" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '4.13' '4.13.1'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.13.1"} | "ocaml-system" {= "4.13.1"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.13.1 (cached)
-> installed ocaml-base-compiler.4.13.1
-> installed ocaml-config.2
-> installed ocaml.4.13.1
Done.
# Run eval $(opam env --switch=4.13) to update the current shell environment
2023-11-24 09:16.07 ---> using "5c021ef51a0498b912b3c5688a437f8330ef699bebcc034f60f38b50465e0cb3" from cache
/: (run (network host)
(shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [198 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-2023-11-23-2003.32-F-2023-11-23-2003.32.pdiff [13.9 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-11-23-2003.32-F-2023-11-23-2003.32.pdiff [13.9 kB]
- Fetched 275 kB in 1s (268 kB/s)
- Reading package lists...
2023-11-24 09:16.07 ---> using "af0667f7ad22835b00a3609ec78c32c666c25baff5084d1e3b893ee4c4cfd1ac" from cache
/: (env OCAMLPARAM warn-error=+8,_)
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "\
\nopam remove -y \"pyml.20170730\"\
\nopam install -vy \"pyml.20170730\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"pyml.20170730\" | 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] pyml.20170730 is not installed.
Nothing to do.
The following actions will be performed:
=== install 2 packages
- install ocamlfind 1.9.6 [required by pyml]
- install pyml 20170730
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/6:
Processing 2/6:
-> retrieved pyml.20170730 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
[ocamlfind: patch] applying 0001-Harden-test-for-OCaml-5.patch
Processing 3/6: [ocamlfind: patch]
Processing 3/6: [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.13/bin" "-sitelib" "/home/opam/.opam/4.13/lib" "-mandir" "/home/opam/.opam/4.13/man" "-config" "/home/opam/.opam/4.13/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6)
- Welcome to findlib version 1.9.6
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Checking for ocamlopt -g...
- Querying installation: META list not found
- make install will double-check installed META files
- Configuring libraries...
- unix: found
- dynlink: found
- bigarray: found
- compiler-libs: found
- dbm: not present (normal since 4.00)
- graphics: not present (normal since 4.09)
- num: not present (normal since 4.06)
- ocamlbuild: not present (normal since 4.03)
- ocamldoc: found (in +ocamldoc)
- raw_spacetime: not present (normal since 4.12)
- threads: found (in +threads)
- str: found
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- Configuration for stdlib written to site-lib-src/stdlib/META
- Configuration for unix written to site-lib-src/unix/META
- Configuration for dynlink written to site-lib-src/dynlink/META
- Configuration for bigarray written to site-lib-src/bigarray/META
- Configuration for compiler-libs written to site-lib-src/compiler-libs/META
- Configuration for ocamldoc written to site-lib-src/ocamldoc/META
- Configuration for threads written to site-lib-src/threads/META
- Configuration for str written to site-lib-src/str/META
- Configuration for bytes written to site-lib-src/bytes/META
- Detecting compiler arguments: (extractor built) ok
-
- About the OCAML core installation:
- Standard library: /home/opam/.opam/4.13/lib/ocaml
- Binaries: /home/opam/.opam/4.13/bin
- Manual pages: /home/opam/.opam/4.13/man
- Multi-threading type: posix
- The directory of site-specific packages will be
- site-lib: /home/opam/.opam/4.13/lib
- The configuration file is written to:
- findlib config file: /home/opam/.opam/4.13/lib/findlib.conf
- Software will be installed:
- Libraries: in <site-lib>/findlib
- Binaries: /home/opam/.opam/4.13/bin
- Manual pages: /home/opam/.opam/4.13/man
- topfind script: /home/opam/.opam/4.13/lib/ocaml
- Topfind ppxopt support: yes
- Toolbox: no
- Link custom runtime: no
- Need bytes compatibility: no
-
- Configuration has been written to Makefile.config
-
- You can now do 'make all', and optionally 'make opt', to build ocamlfind.
Processing 3/6: [ocamlfind: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6)
- for p in findlib; do ( cd src/$p; make all ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
- ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.13/lib/findlib.conf' | \
- ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.13/lib/ocaml' | \
- sed -e 's;@AUTOLINK@;true;g' \
- -e 's;@SYSTEM@;linux;g' \
- >findlib_config.ml
- if [ "true" = "true" ]; then \
- cp topfind.ml.in topfind.ml; \
- else \
- sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \
- > topfind.ml ; \
- fi
- ocamldep *.ml *.mli >depend
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib_config.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_split.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_meta.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_metascanner.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_topo.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_topo.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_package_base.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_package_base.ml
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 | let ancestors = query_requirements predlist package_name in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | ( let c = package_definitions search_path pkg.package_name in
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c findlib.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib.ml
- File "findlib.ml", line 390, characters 2-26:
- 390 | Fl_package_base.requires predlist pkg
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "findlib.ml", line 396, characters 2-33:
- 396 | Fl_package_base.requires_deeply predlist pkglist
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_args.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_lint.ml
- ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c ocaml_args.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c frontend.ml
- File "frontend.ml", line 859, characters 10-39:
- 859 | Fl_package_base.package_users predicates1 packages1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \
- -I +unix -I +dynlink ocaml_args.cmo frontend.cmo
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c topfind.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c topfind.ml
- File "topfind.ml", line 128, characters 40-63:
- 128 | match Hashtbl.find Toploop.directive_table "ppx" with
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 258, characters 4-27:
- 258 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 268, characters 4-27:
- 268 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 280, characters 4-27:
- 280 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 293, characters 4-27:
- 293 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 307, characters 4-27:
- 307 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 319, characters 4-27:
- 319 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat topfind_rd1.p | \
- ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.13/lib' \
- >topfind
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_dynload.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_dynload.ml
- ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo
- make[1]: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
- tools/patch '@SITELIB@' '/home/opam/.opam/4.13/lib' | \
- tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/4.13/lib' -p >findlib.conf
- if ./tools/cmd_from_same_dir ocamlc; then \
- echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamlopt; then \
- echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldep; then \
- echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldoc; then \
- echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6'
Processing 3/6: [ocamlfind: make opt]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6)
- for p in findlib; do ( cd src/$p; make opt ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib_config.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_split.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metatoken.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_meta.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metascanner.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_topo.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_package_base.ml
- File "fl_package_base.ml", line 304, characters 22-40:
- 304 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 350, characters 18-36:
- 350 | let ancestors = query_requirements predlist package_name in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 375, characters 23-41:
- 375 | let pkg_ancestors = query_requirements predlist pkg in
- ^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "fl_package_base.ml", line 510, characters 16-35:
- 510 | ( let c = package_definitions search_path pkg.package_name in
- ^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label search_path was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib.ml
- File "findlib.ml", line 390, characters 2-26:
- 390 | Fl_package_base.requires predlist pkg
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- File "findlib.ml", line 396, characters 2-33:
- 396 | Fl_package_base.requires_deeply predlist pkglist
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_args.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_lint.ml
- ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx
- if [ 1 -gt 0 ]; then \
- ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c ocaml_args.ml
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c frontend.ml
- File "frontend.ml", line 859, characters 10-39:
- 859 | Fl_package_base.package_users predicates1 packages1
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label preds was omitted in the application of this function.
- ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \
- -I +unix -I +dynlink ocaml_args.cmx frontend.cmx
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c topfind.ml
- File "topfind.ml", line 128, characters 40-63:
- 128 | match Hashtbl.find Toploop.directive_table "ppx" with
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 258, characters 4-27:
- 258 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 268, characters 4-27:
- 268 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 280, characters 4-27:
- 280 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 293, characters 4-27:
- 293 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 307, characters 4-27:
- 307 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "topfind.ml", line 319, characters 4-27:
- 319 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
- ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx
- if [ 1 -gt 0 ]; then \
- ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_dynload.ml
- ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx
- if [ 1 -gt 0 ]; then \
- ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
-> compiled ocamlfind.1.9.6
Processing 4/6: [ocamlfind: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6)
- if [ "1" -eq 1 ]; then \
- for x in camlp4 dbm graphics labltk num ocamlbuild; do \
- if [ -f "/home/opam/.opam/4.13/lib/$x/META" ]; then \
- if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.13/lib/$x/META"; then \
- rm -f site-lib-src/$x/META; \
- fi; \
- fi; \
- done; \
- test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \
- fi
- echo 'SITELIB_META =' > Makefile.packages.in
- for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done
- tr '\n' ' ' < Makefile.packages.in > Makefile.packages
- rm Makefile.packages.in
- install -d "/home/opam/.opam/4.13/bin"
- install -d "/home/opam/.opam/4.13/man"
- make install-config
- make[1]: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6'
- install -d "`dirname \"/home/opam/.opam/4.13/lib/findlib.conf\"`"
- test -f "/home/opam/.opam/4.13/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.13/lib/findlib.conf"
- make[1]: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6'
- for p in findlib; do ( cd src/$p; make install ); done
- make[1]: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- install -d "/home/opam/.opam/4.13/lib/findlib"
- install -d "/home/opam/.opam/4.13/bin"
- test 1 -eq 0 || install -d "/home/opam/.opam/4.13/lib/ocaml"
- test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.13/lib/ocaml/"
- files=` ../../tools/collect_files ../../Makefile.config \
- findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \
- findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \
- fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \
- fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \
- fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \
- findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \
- META` && \
- install -c $files "/home/opam/.opam/4.13/lib/findlib/"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- install -c $f "/home/opam/.opam/4.13/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/home/opam/.opam/4.13/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
- cd "/home/opam/.opam/4.13/lib/ocaml/compiler-libs/"; \
- install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.13/lib/findlib/"; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6'
- for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do install -d "/home/opam/.opam/4.13/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.13/lib/$x/META.tmp" && mv "/home/opam/.opam/4.13/lib/$x/META.tmp" "/home/opam/.opam/4.13/lib/$x/META"; done
- install -d "/home/opam/.opam/4.13/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.13/lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6'
- test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; }
- test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/4.13/bin"
- make install-doc
- make[1]: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6'
- install -d "/home/opam/.opam/4.13/man/man1" "/home/opam/.opam/4.13/man/man3" "/home/opam/.opam/4.13/man/man5"
- install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.13/man/man1"
- install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.13/man/man5"
- make[1]: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/ocamlfind.1.9.6'
-> installed ocamlfind.1.9.6
Processing 5/6: [pyml: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" "pymltop" (CWD=/home/opam/.opam/4.13/.opam-switch/build/pyml.20170730)
- ocamlfind: Package `utop' not found
- cp pyml_compat403.ml pyml_compat.ml
- cp pyml_arch_linux.ml pyml_arch.ml
- ocamlfind ocamlc -c pyml_compat.mli -o pyml_compat.cmi
- ocamlfind ocamlopt -c pyml_compat.ml -o pyml_compat.cmx
- ocamlfind ocamlopt -c generate.ml -o generate.cmx
- ocamlfind ocamlopt pyml_compat.cmx generate.cmx -o generate
- ./generate
- ocamlfind ocamlc -c pytypes.mli -o pytypes.cmi
- ocamlfind ocamlc -c pyml_arch.mli -o pyml_arch.cmi
- ocamlfind ocamlc -i pywrappers.ml >pywrappers.mli
- ocamlfind ocamldep pyml_compat.ml pyml_arch.ml pytypes.ml pywrappers.ml py.ml pycaml.ml pyml_compat.mli pyml_arch.mli pytypes.mli pywrappers.mli py.mli pycaml.mli pyml_tests.ml >.depend
- ocamlfind: Package `utop' not found
- ocamlfind ocamlc -c pyml_compat.ml -o pyml_compat.cmo
- ocamlfind ocamlc -c pyml_arch.ml -o pyml_arch.cmo
- ocamlfind ocamlc -c pytypes.ml -o pytypes.cmo
- ocamlfind ocamlc -c pywrappers.mli -o pywrappers.cmi
- ocamlfind ocamlc -c pywrappers.ml -o pywrappers.cmo
- ocamlfind ocamlc -c py.mli -o py.cmi
- ocamlfind ocamlc -c py.ml -o py.cmo
- File "py.ml", line 1194, characters 26-40:
- 1194 | repr_or_string (Pervasives.not repr) v
- ^^^^^^^^^^^^^^
- 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
- ocamlfind ocamlc -c pycaml.mli -o pycaml.cmi
- ocamlfind ocamlc -c pycaml.ml -o pycaml.cmo
- ocamlfind ocamlc -c pyml_stubs.c -o pyml_stubs.o
- In file included from pyml_stubs.c:2:
- pyml_stubs.c: In function 'py_load_library':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_stubs.c:632:26: note: in expansion of macro 'String_val'
- 632 | char *filename = String_val(Field(filename_ocaml, 0));
- | ^~~~~~~~~~
- pyml_stubs.c: In function 'py_unsetenv':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_stubs.c:709:18: note: in expansion of macro 'String_val'
- 709 | char *name = String_val(name_ocaml);
- | ^~~~~~~~~~
- pyml_stubs.c: In function 'pyunwrap_wide_string':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_stubs.c:1062:15: note: in expansion of macro 'String_val'
- 1062 | char *s = String_val(string_ocaml);
- | ^~~~~~~~~~
- pyml_stubs.c: In function 'PyString_AsStringAndSize_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- pyml_stubs.c:1163:16: note: in expansion of macro 'String_val'
- 1163 | memcpy(String_val(string), buffer, length); \
- | ^~~~~~~~~~
- pyml_stubs.c:1169:1: note: in expansion of macro 'StringAndSize_wrapper'
- 1169 | StringAndSize_wrapper(PyString_AsStringAndSize, char);
- | ^~~~~~~~~~~~~~~~~~~~~
- In file included from pyml_stubs.c:9:
- /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,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- pyml_stubs.c: In function 'PyObject_AsCharBuffer_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- pyml_stubs.c:1163:16: note: in expansion of macro 'String_val'
- 1163 | memcpy(String_val(string), buffer, length); \
- | ^~~~~~~~~~
- pyml_stubs.c:1170:1: note: in expansion of macro 'StringAndSize_wrapper'
- 1170 | StringAndSize_wrapper(PyObject_AsCharBuffer, const char);
- | ^~~~~~~~~~~~~~~~~~~~~
- /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,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- pyml_stubs.c: In function 'PyObject_AsReadBuffer_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- pyml_stubs.c:1163:16: note: in expansion of macro 'String_val'
- 1163 | memcpy(String_val(string), buffer, length); \
- | ^~~~~~~~~~
- pyml_stubs.c:1171:1: note: in expansion of macro 'StringAndSize_wrapper'
- 1171 | StringAndSize_wrapper(PyObject_AsReadBuffer, const void);
- | ^~~~~~~~~~~~~~~~~~~~~
- /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,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- pyml_stubs.c: In function 'PyObject_AsWriteBuffer_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- pyml_stubs.c:1163:16: note: in expansion of macro 'String_val'
- 1163 | memcpy(String_val(string), buffer, length); \
- | ^~~~~~~~~~
- pyml_stubs.c:1172:1: note: in expansion of macro 'StringAndSize_wrapper'
- 1172 | StringAndSize_wrapper(PyObject_AsWriteBuffer, void);
- | ^~~~~~~~~~~~~~~~~~~~~
- /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,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- pyml_stubs.c: In function 'open_file':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_stubs.c:1180:26: note: in expansion of macro 'String_val'
- 1180 | char *filename = String_val(Field(file, 0));
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_Py_FdIsInteractive_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:90:18: note: in expansion of macro 'String_val'
- 90 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyCapsule_IsValid_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:134:18: note: in expansion of macro 'String_val'
- 134 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyDict_DelItemString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:180:18: note: in expansion of macro 'String_val'
- 180 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyDict_GetItemString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:204:18: note: in expansion of macro 'String_val'
- 204 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyDict_SetItemString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:261:18: note: in expansion of macro 'String_val'
- 261 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyErr_SetString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:384:18: note: in expansion of macro 'String_val'
- 384 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyImport_AddModule_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:962:18: note: in expansion of macro 'String_val'
- 962 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyImport_ExecCodeModule_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:983:18: note: in expansion of macro 'String_val'
- 983 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyImport_ExecCodeModuleEx_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:995:18: note: in expansion of macro 'String_val'
- 995 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:997:18: note: in expansion of macro 'String_val'
- 997 | char *arg2 = String_val(arg2_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyImport_ImportFrozenModule_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1028:18: note: in expansion of macro 'String_val'
- 1028 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyImport_ImportModule_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1050:18: note: in expansion of macro 'String_val'
- 1050 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyImport_ImportModuleLevel_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1061:18: note: in expansion of macro 'String_val'
- 1061 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyMapping_GetItemString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1180:18: note: in expansion of macro 'String_val'
- 1180 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyMapping_HasKeyString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1204:18: note: in expansion of macro 'String_val'
- 1204 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyMapping_SetItemString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1227:18: note: in expansion of macro 'String_val'
- 1227 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyMarshal_ReadObjectFromString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1274:18: note: in expansion of macro 'String_val'
- 1274 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyModule_AddObject_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1348:18: note: in expansion of macro 'String_val'
- 1348 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyModule_New_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1393:18: note: in expansion of macro 'String_val'
- 1393 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyObject_DelItemString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1819:18: note: in expansion of macro 'String_val'
- 1819 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyObject_GetAttrString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1843:18: note: in expansion of macro 'String_val'
- 1843 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyObject_HasAttrString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1890:18: note: in expansion of macro 'String_val'
- 1890 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyObject_SetAttrString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:1999:18: note: in expansion of macro 'String_val'
- 1999 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyRun_AnyFileExFlags_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2058:18: note: in expansion of macro 'String_val'
- 2058 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyRun_FileExFlags_native':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2074:18: note: in expansion of macro 'String_val'
- 2074 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyRun_InteractiveOneFlags_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2098:18: note: in expansion of macro 'String_val'
- 2098 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyRun_InteractiveLoopFlags_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2113:18: note: in expansion of macro 'String_val'
- 2113 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyRun_SimpleFileExFlags_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2128:18: note: in expansion of macro 'String_val'
- 2128 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyRun_StringFlags_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2142:18: note: in expansion of macro 'String_val'
- 2142 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PyRun_SimpleStringFlags_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2158:18: note: in expansion of macro 'String_val'
- 2158 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python_PySequence_Fast_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2244:18: note: in expansion of macro 'String_val'
- 2244 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python2_Py_SetProgramName_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2569:18: note: in expansion of macro 'String_val'
- 2569 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python2_Py_SetPythonHome_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2580:18: note: in expansion of macro 'String_val'
- 2580 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python2_Py_CompileStringFlags_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2591:18: note: in expansion of macro 'String_val'
- 2591 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2592:18: note: in expansion of macro 'String_val'
- 2592 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python2_PyString_FromString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2801:18: note: in expansion of macro 'String_val'
- 2801 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python2_PyString_FromStringAndSize_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2812:18: note: in expansion of macro 'String_val'
- 2812 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'UCS2_PyUnicodeUCS2_AsEncodedString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2838:18: note: in expansion of macro 'String_val'
- 2838 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2839:18: note: in expansion of macro 'String_val'
- 2839 | char *arg2 = String_val(arg2_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'UCS2_PyUnicodeUCS2_DecodeUTF8_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2883:18: note: in expansion of macro 'String_val'
- 2883 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 71 | #define Is_block(x) (((x) & 1) == 0)
- | ^
- pyml_wrappers.inc:2885:18: note: in expansion of macro 'Is_block'
- 2885 | char *arg2 = Is_block(arg2_ocaml) ? String_val(Field(arg2_ocaml, 0)) : NULL;
- | ^~~~~~~~
- pyml_wrappers.inc: In function 'UCS2_PyUnicodeUCS2_DecodeUTF16_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2896:18: note: in expansion of macro 'String_val'
- 2896 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 71 | #define Is_block(x) (((x) & 1) == 0)
- | ^
- pyml_wrappers.inc:2898:18: note: in expansion of macro 'Is_block'
- 2898 | char *arg2 = Is_block(arg2_ocaml) ? String_val(Field(arg2_ocaml, 0)) : NULL;
- | ^~~~~~~~
- pyml_wrappers.inc: In function 'UCS2_PyUnicodeUCS2_DecodeUTF32_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2910:18: note: in expansion of macro 'String_val'
- 2910 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 71 | #define Is_block(x) (((x) & 1) == 0)
- | ^
- pyml_wrappers.inc:2912:18: note: in expansion of macro 'Is_block'
- 2912 | char *arg2 = Is_block(arg2_ocaml) ? String_val(Field(arg2_ocaml, 0)) : NULL;
- | ^~~~~~~~
- pyml_wrappers.inc: In function 'UCS2_PyUnicodeUCS2_FromString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2936:18: note: in expansion of macro 'String_val'
- 2936 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'UCS4_PyUnicodeUCS4_AsEncodedString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2985:18: note: in expansion of macro 'String_val'
- 2985 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:2986:18: note: in expansion of macro 'String_val'
- 2986 | char *arg2 = String_val(arg2_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'UCS4_PyUnicodeUCS4_DecodeUTF8_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3030:18: note: in expansion of macro 'String_val'
- 3030 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 71 | #define Is_block(x) (((x) & 1) == 0)
- | ^
- pyml_wrappers.inc:3032:18: note: in expansion of macro 'Is_block'
- 3032 | char *arg2 = Is_block(arg2_ocaml) ? String_val(Field(arg2_ocaml, 0)) : NULL;
- | ^~~~~~~~
- pyml_wrappers.inc: In function 'UCS4_PyUnicodeUCS4_DecodeUTF16_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3043:18: note: in expansion of macro 'String_val'
- 3043 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 71 | #define Is_block(x) (((x) & 1) == 0)
- | ^
- pyml_wrappers.inc:3045:18: note: in expansion of macro 'Is_block'
- 3045 | char *arg2 = Is_block(arg2_ocaml) ? String_val(Field(arg2_ocaml, 0)) : NULL;
- | ^~~~~~~~
- pyml_wrappers.inc: In function 'UCS4_PyUnicodeUCS4_DecodeUTF32_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3057:18: note: in expansion of macro 'String_val'
- 3057 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 71 | #define Is_block(x) (((x) & 1) == 0)
- | ^
- pyml_wrappers.inc:3059:18: note: in expansion of macro 'Is_block'
- 3059 | char *arg2 = Is_block(arg2_ocaml) ? String_val(Field(arg2_ocaml, 0)) : NULL;
- | ^~~~~~~~
- pyml_wrappers.inc: In function 'UCS4_PyUnicodeUCS4_FromString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3083:18: note: in expansion of macro 'String_val'
- 3083 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python3_Py_CompileStringExFlags_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3213:18: note: in expansion of macro 'String_val'
- 3213 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3214:18: note: in expansion of macro 'String_val'
- 3214 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python3_PyBytes_FromString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3240:18: note: in expansion of macro 'String_val'
- 3240 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python3_PyImport_ExecCodeModuleWithPathnames_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3276:18: note: in expansion of macro 'String_val'
- 3276 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3278:18: note: in expansion of macro 'String_val'
- 3278 | char *arg2 = String_val(arg2_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3279:18: note: in expansion of macro 'String_val'
- 3279 | char *arg3 = String_val(arg3_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python3_PyUnicode_AsEncodedString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3317:18: note: in expansion of macro 'String_val'
- 3317 | char *arg1 = String_val(arg1_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3318:18: note: in expansion of macro 'String_val'
- 3318 | char *arg2 = String_val(arg2_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python3_PyUnicode_DecodeUTF8_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3362:18: note: in expansion of macro 'String_val'
- 3362 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 71 | #define Is_block(x) (((x) & 1) == 0)
- | ^
- pyml_wrappers.inc:3364:18: note: in expansion of macro 'Is_block'
- 3364 | char *arg2 = Is_block(arg2_ocaml) ? String_val(Field(arg2_ocaml, 0)) : NULL;
- | ^~~~~~~~
- pyml_wrappers.inc: In function 'Python3_PyUnicode_DecodeUTF16_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3375:18: note: in expansion of macro 'String_val'
- 3375 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 71 | #define Is_block(x) (((x) & 1) == 0)
- | ^
- pyml_wrappers.inc:3377:18: note: in expansion of macro 'Is_block'
- 3377 | char *arg2 = Is_block(arg2_ocaml) ? String_val(Field(arg2_ocaml, 0)) : NULL;
- | ^~~~~~~~
- pyml_wrappers.inc: In function 'Python3_PyUnicode_DecodeUTF32_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3389:18: note: in expansion of macro 'String_val'
- 3389 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:71:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 71 | #define Is_block(x) (((x) & 1) == 0)
- | ^
- pyml_wrappers.inc:3391:18: note: in expansion of macro 'Is_block'
- 3391 | char *arg2 = Is_block(arg2_ocaml) ? String_val(Field(arg2_ocaml, 0)) : NULL;
- | ^~~~~~~~
- pyml_wrappers.inc: In function 'Python3_PyUnicode_FromString_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3415:18: note: in expansion of macro 'String_val'
- 3415 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- pyml_wrappers.inc: In function 'Python3_PyUnicode_FromStringAndSize_wrapper':
- /home/opam/.opam/4.13/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ^
- pyml_wrappers.inc:3426:18: note: in expansion of macro 'String_val'
- 3426 | char *arg0 = String_val(arg0_ocaml);
- | ^~~~~~~~~~
- ocamlfind ocamlmklib -o pyml_stubs pyml_stubs.o
- ocamlfind ocamlc -custom -cclib "-L. -lpyml_stubs" -a pyml_compat.cmo pyml_arch.cmo pytypes.cmo pywrappers.cmo py.cmo pycaml.cmo -o pyml.cma
- ocamlfind ocamlopt -c pyml_arch.ml -o pyml_arch.cmx
- ocamlfind ocamlopt -c pytypes.ml -o pytypes.cmx
- ocamlfind ocamlopt -c pywrappers.ml -o pywrappers.cmx
- ocamlfind ocamlopt -c py.ml -o py.cmx
- File "py.ml", line 1194, characters 26-40:
- 1194 | repr_or_string (Pervasives.not repr) v
- ^^^^^^^^^^^^^^
- 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
- ocamlfind ocamlopt -c pycaml.ml -o pycaml.cmx
- ocamlfind ocamlopt -cclib "-L. -lpyml_stubs" -a pyml_compat.cmx pyml_arch.cmx pytypes.cmx pywrappers.cmx py.cmx pycaml.cmx -o pyml.cmxa
- ocamlfind ocamlopt -cclib "-L. -lpyml_stubs" -shared pyml_compat.cmx pyml_arch.cmx pytypes.cmx pywrappers.cmx py.cmx pycaml.cmx -o pyml.cmxs
- The py.ml library is compiled.
- Run `make doc' to build the documentation.
- Run `make tests' to check the test suite.
- Run `make install' to install the library via ocamlfind.
- Run `make pymltop' to build the toplevel.
- Run `make pymlutop' to build the utop toplevel.
- if [ -z "/usr/local" ]; then \
- echo "let libdir=\"/home/opam/.opam/4.13/.opam-switch/build/pyml.20170730\""; \
- else \
- echo "let libdir=\"/usr/local/lib/pyml/\""; \
- fi >pymltop_libdir.ml
- ocamlfind ocamlc -c pymltop_libdir.ml -o pymltop_libdir.cmo
- ocamlfind ocamlc -I +compiler-libs -c pytop.ml
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.13/lib/ocaml, /home/opam/.opam/4.13/lib/ocaml/compiler-libs
- ocamlfind ocamlmktop -o pymltop unix.cma pyml.cma pymltop_libdir.cmo pytop.cmo
-> compiled pyml.20170730
Processing 6/6: [pyml: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" "PREFIX=/home/opam/.opam/4.13" (CWD=/home/opam/.opam/4.13/.opam-switch/build/pyml.20170730)
- ocamlfind: Package `utop' not found
- ocamlfind install pyml py.mli pyml_compat.cmi pyml_arch.cmi pytypes.cmi pywrappers.cmi py.cmi pycaml.cmi pyml_compat.cmx pyml_arch.cmx pytypes.cmx pywrappers.cmx py.cmx pycaml.cmx pyml.cma pyml.cmxa pyml.cmxs pyml.a libpyml_stubs.a dllpyml_stubs.so META
- Installed /home/opam/.opam/4.13/lib/pyml/libpyml_stubs.a
- Installed /home/opam/.opam/4.13/lib/pyml/pyml.a
- Installed /home/opam/.opam/4.13/lib/pyml/pyml.cmxs
- Installed /home/opam/.opam/4.13/lib/pyml/pyml.cmxa
- Installed /home/opam/.opam/4.13/lib/pyml/pyml.cma
- Installed /home/opam/.opam/4.13/lib/pyml/pycaml.cmx
- Installed /home/opam/.opam/4.13/lib/pyml/py.cmx
- Installed /home/opam/.opam/4.13/lib/pyml/pywrappers.cmx
- Installed /home/opam/.opam/4.13/lib/pyml/pytypes.cmx
- Installed /home/opam/.opam/4.13/lib/pyml/pyml_arch.cmx
- Installed /home/opam/.opam/4.13/lib/pyml/pyml_compat.cmx
- Installed /home/opam/.opam/4.13/lib/pyml/pycaml.cmi
- Installed /home/opam/.opam/4.13/lib/pyml/py.cmi
- Installed /home/opam/.opam/4.13/lib/pyml/pywrappers.cmi
- Installed /home/opam/.opam/4.13/lib/pyml/pytypes.cmi
- Installed /home/opam/.opam/4.13/lib/pyml/pyml_arch.cmi
- Installed /home/opam/.opam/4.13/lib/pyml/pyml_compat.cmi
- Installed /home/opam/.opam/4.13/lib/pyml/py.mli
- Installed /home/opam/.opam/4.13/lib/stublibs/dllpyml_stubs.so
- Installed /home/opam/.opam/4.13/lib/stublibs/dllpyml_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.13/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.13/lib/pyml/META
- [ ! -f pymltop ] || install pymltop /home/opam/.opam/4.13/bin/pymltop
- [ ! -f pymlutop ] || install pymlutop /home/opam/.opam/4.13/bin/pymlutop
-> installed pyml.20170730
Done.
# Run eval $(opam env) to update the current shell environment
2023-11-24 09:16.20 ---> saved as "fc69968c52eea2b6960f98d36f4a5f5b922fd8c1dbf9667c6be96e4d166528dc"
Job succeeded