package stdcompat

  1. Overview
  2. Docs
On This Page
  1. Error log

stdcompat 18

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package dune is already installed (current version is 3.17.2).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 12 packages
  - install conf-autoconf           0.2
  - install conf-automake           1
  - install fix                     20230505
  - install metapp                  0.2.0
  - install metaquot                0.2.0
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install override                0.3.0
  - install ppx_derivers            1.2.1
  - install refl                    0.2.1
  - install result                  1.5
  - install stdcompat               18
  - install traverse                0.2.0

The following system packages will first need to be installed:
    autoconf automake

<><> 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. Continue anyway, and, upon success, 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" "autoconf" "automake"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Selecting previously unselected package autoconf.
- Preparing to unpack .../autoconf_2.71-3_all.deb ...
- Unpacking autoconf (2.71-3) ...
- Selecting previously unselected package autotools-dev.
- Preparing to unpack .../autotools-dev_20220109.1_all.deb ...
- Unpacking autotools-dev (20220109.1) ...
- Selecting previously unselected package automake.
- Preparing to unpack .../automake_1%3a1.16.5-1.3_all.deb ...
- Unpacking automake (1:1.16.5-1.3) ...
- Setting up m4 (1.4.19-3) ...
- Setting up autotools-dev (20220109.1) ...
- Setting up autoconf (2.71-3) ...
- Setting up automake (1:1.16.5-1.3) ...
- update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved metapp.0.2.0  (cached)
-> retrieved fix.20230505  (cached)
-> retrieved metaquot.0.2.0  (cached)
-> installed conf-autoconf.0.2
-> retrieved override.0.3.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved result.1.5  (cached)
-> retrieved refl.0.2.1  (cached)
-> retrieved stdcompat.18  (cached)
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> installed conf-automake.1
-> retrieved traverse.0.2.0  (cached)
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed fix.20230505
[ERROR] The compilation of stdcompat.18 failed at "make all".
-> installed ocaml-migrate-parsetree.1.8.0

#=== ERROR while compiling stdcompat.18 =======================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/stdcompat.18
# command              /usr/bin/make all
# exit-code            2
# env-file             ~/.opam/log/stdcompat-113-9478bd.env
# output-file          ~/.opam/log/stdcompat-113-9478bd.out
### output ###
# cp stdcompat__native.ml_byte stdcompat__native.ml
# ocamlfind ocamldep stdcompat__init.ml stdcompat__root.ml stdcompat__either_s.ml stdcompat__either.ml stdcompat__seq_s.ml stdcompat__seq.ml stdcompat__tools.ml stdcompat__pervasives_s.ml stdcompat__arg_s.ml stdcompat__lazy_s.ml stdcompat__char_s.ml stdcompat__uchar_s.ml stdcompat__uchar.ml stdcompat__buffer_s.ml stdcompat__string_s.ml stdcompat__stringLabels_s.ml stdcompat__bytes_s.ml stdcompat__bytesLabels_s.ml stdcompat__list_s.ml stdcompat__listLabels_s.ml stdcompat__stack_s.ml stdcompat__list.ml stdcompat__hashtbl_ext.ml stdcompat__hashtbl_s.ml stdcompat__set_s.ml stdcompat__map_s.ml stdcompat__weak_s.ml stdcompat__sys_s.ml stdcompat__stream_s.ml stdcompat__digest_s.ml stdcompat__nativeint_s.ml stdcompat__int_s.ml stdcompat__int64_s.ml stdcompat__int32_s.ml stdcompat__filename_s.ml stdcompat__array_s.ml stdcompat__arrayLabels_s.ml stdcompat__float_s.ml stdcompat__queue_s.ml stdcompat__hashtbl.ml stdcompat__ephemeron_s.ml stdcompat__moreLabels_s.ml stdcompat__lexing_s.ml stdcompat__pervasives.ml stdcompat__option_s.ml stdcompat__result_s.ml stdcompat__bool_s.ml stdcompat__fun_s.ml stdcompat__printf_s.ml stdcompat__printexc_s.ml stdcompat__format_s.ml stdcompat__atomic_s.ml stdcompat__in_channel_s.ml stdcompat__out_channel_s.ml stdcompat__random_s.ml stdcompat__unit_s.ml stdcompat__stdlib_s.ml stdcompat__arg.ml stdcompat__lazy.ml stdcompat__char.ml stdcompat__option.ml stdcompat__buffer.ml stdcompat__sys.ml stdcompat__bytes.ml stdcompat__bytesLabels.ml stdcompat__string.ml stdcompat__stringLabels.ml stdcompat__filename.ml stdcompat__listLabels.ml stdcompat__stack.ml stdcompat__set.ml stdcompat__map.ml stdcompat__weak.ml stdcompat__random.ml stdcompat__stream.ml stdcompat__digest.ml stdcompat__nativeint.ml stdcompat__int.ml stdcompat__int64.ml stdcompat__int32.ml stdcompat__array.ml stdcompat__arrayLabels.ml stdcompat__float.ml stdcompat__queue.ml stdcompat__ephemeron.ml stdcompat__moreLabels.ml stdcompat__lexing.ml stdcompat__printexc.ml stdcompat__result.ml stdcompat__bool.ml stdcompat__fun.ml stdcompat__format.ml stdcompat__printf.ml stdcompat__atomic.ml stdcompat__in_channel.ml stdcompat__out_channel.ml stdcompat__unit.ml stdcompat__stdlib.ml stdcompat.ml stdcompat__native.mli stdcompat__init.mli stdcompat__root.mli stdcompat__either_s.mli stdcompat__either.mli stdcompat__seq_s.mli stdcompat__seq.mli stdcompat__tools.mli stdcompat__pervasives_s.mli stdcompat__arg_s.mli stdcompat__lazy_s.mli stdcompat__char_s.mli stdcompat__uchar_s.mli stdcompat__uchar.mli stdcompat__buffer_s.mli stdcompat__string_s.mli stdcompat__stringLabels_s.mli stdcompat__bytes_s.mli stdcompat__bytesLabels_s.mli stdcompat__list_s.mli stdcompat__listLabels_s.mli stdcompat__stack_s.mli stdcompat__list.mli stdcompat__hashtbl_ext.mli stdcompat__hashtbl_s.mli stdcompat__set_s.mli stdcompat__map_s.mli stdcompat__weak_s.mli stdcompat__sys_s.mli stdcompat__stream_s.mli stdcompat__digest_s.mli stdcompat__nativeint_s.mli stdcompat__int_s.mli stdcompat__int64_s.mli stdcompat__int32_s.mli stdcompat__filename_s.mli stdcompat__array_s.mli stdcompat__arrayLabels_s.mli stdcompat__float_s.mli stdcompat__queue_s.mli stdcompat__hashtbl.mli stdcompat__ephemeron_s.mli stdcompat__moreLabels_s.mli stdcompat__lexing_s.mli stdcompat__pervasives.mli stdcompat__option_s.mli stdcompat__result_s.mli stdcompat__bool_s.mli stdcompat__fun_s.mli stdcompat__printf_s.mli stdcompat__printexc_s.mli stdcompat__format_s.mli stdcompat__atomic_s.mli stdcompat__in_channel_s.mli stdcompat__out_channel_s.mli stdcompat__random_s.mli stdcompat__unit_s.mli stdcompat__stdlib_s.mli stdcompat__arg.mli stdcompat__lazy.mli stdcompat__char.mli stdcompat__option.mli stdcompat__buffer.mli stdcompat__sys.mli stdcompat__bytes.mli stdcompat__bytesLabels.mli stdcompat__string.mli stdcompat__stringLabels.mli stdcompat__filename.mli stdcompat__listLabels.mli stdcompat__stack.mli stdcompat__set.mli stdcompat__map.mli stdcompat__weak.mli stdcompat__random.mli stdcompat__stream.mli stdcompat__digest.mli stdcompat__nativeint.mli stdcompat__int.mli stdcompat__int64.mli stdcompat__int32.mli stdcompat__array.mli stdcompat__arrayLabels.mli stdcompat__float.mli stdcompat__queue.mli stdcompat__ephemeron.mli stdcompat__moreLabels.mli stdcompat__lexing.mli stdcompat__printexc.mli stdcompat__result.mli stdcompat__bool.mli stdcompat__fun.mli stdcompat__format.mli stdcompat__printf.mli stdcompat__atomic.mli stdcompat__in_channel.mli stdcompat__out_channel.mli stdcompat__unit.mli stdcompat__stdlib.mli stdcompat.mli stdcompat__native.ml_byte >.depend || rm -f .depend
#  cd . && /bin/bash /home/opam/.opam/4.11/.opam-switch/build/stdcompat.18/missing automake-1.15 --foreign
# /home/opam/.opam/4.11/.opam-switch/build/stdcompat.18/missing: line 81: automake-1.15: command not found
# WARNING: 'automake-1.15' is missing on your system.
#          You should only need it if you modified 'Makefile.am' or
#          'configure.ac' or m4 files included by 'configure.ac'.
#          The 'automake' program is part of the GNU Automake package:
#          <http://www.gnu.org/software/automake>
#          It also requires GNU Autoconf, GNU m4 and Perl in order to run:
#          <http://www.gnu.org/software/autoconf>
#          <http://www.gnu.org/software/m4/>
#          <http://www.perl.org/>
# make: *** [Makefile:895: Makefile.in] Error 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build stdcompat 18
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-autoconf           0.2
| - install conf-automake           1
| - install fix                     20230505
| - install ocaml-migrate-parsetree 1.8.0
| - install ppx_derivers            1.2.1
| - install result                  1.5
+- 

<><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.11/.opam-switch/backup/state-20250204164021.export"
OCaml

Innovation. Community. Security.