Skip to content

Installing build dependencies on macOS 10.12.3 #224

@FatherShawn

Description

@FatherShawn

Feature Requests

Are the build dependencies in the README still correct? The qcow packages do not build on macOS 10.12.3:

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
Processing  2/2: [qcow: ocaml build] [qcow-format: make]
[ERROR] The compilation of qcow-format failed at "make PREFIX=/Users/shawnduncan/.opam/system".
[ERROR] The compilation of qcow failed at "ocaml pkg/pkg.ml build --pinned false --tests false".

#=== ERROR while installing qcow.0.7.0 ========================================#
# opam-version 1.2.2
# os           darwin
# command      ocaml pkg/pkg.ml build --pinned false --tests false
# path         /Users/shawnduncan/.opam/system/build/qcow.0.7.0
# compiler     system (4.04.0)
# exit-code    1
# env-file     /Users/shawnduncan/.opam/system/build/qcow.0.7.0/qcow-16327-e7966f.env
# stdout-file  /Users/shawnduncan/.opam/system/build/qcow.0.7.0/qcow-16327-e7966f.out
# stderr-file  /Users/shawnduncan/.opam/system/build/qcow.0.7.0/qcow-16327-e7966f.err
### stdout ###
# [...]
# Use Bytes.set instead.
# File "cli/impl.ml", line 115, characters 2-17:
# Warning 3: deprecated: String.set
# Use Bytes.set instead.
# File "cli/impl.ml", line 144, characters 18-29:
# Error: Signature mismatch:
#        ...
#        The type `info' is required but not provided
#        The type `id' is required but not provided
# Command exited with code 2.
### stderr ###
# pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-tag' 'debug'
# [...]
#      'lib/qcow_rwlock.cmx' 'lib/qcow_rwlock.cmi' 'lib/qcow_rwlock.mli'
#      'lib/qcow_diet.cmx' 'lib/qcow_diet.cmi' 'lib/qcow_diet.mli'
#      'lib/qcow_s.cmx' 'lib/qcow_s.cmi' 'lib/qcow_s.mli'
#      'lib/qcow_physical.cmx' 'lib/qcow_physical.cmi' 'lib/qcow_physical.mli'
#      'lib/qcow_virtual.cmx' 'lib/qcow_virtual.cmi' 'lib/qcow_virtual.mli'
#      'lib/qcow_types.cmx' 'lib/qcow_types.cmi' 'lib/qcow_types.mli'
#      'lib/qcow_error.cmx' 'lib/qcow_error.cmi' 'lib/qcow_error.mli'
#      'lib/qcow_header.cmx' 'lib/qcow_header.cmi' 'lib/qcow_header.mli'
#      'cli/main.native']: exited with 10


#=== ERROR while installing qcow-format.0.5.0 =================================#
# opam-version 1.2.2
# os           darwin
# command      make PREFIX=/Users/shawnduncan/.opam/system
# path         /Users/shawnduncan/.opam/system/build/qcow-format.0.5.0
# compiler     system (4.04.0)
# exit-code    2
# env-file     /Users/shawnduncan/.opam/system/build/qcow-format.0.5.0/qcow-format-16327-d8a4ae.env
# stdout-file  /Users/shawnduncan/.opam/system/build/qcow-format.0.5.0/qcow-format-16327-d8a4ae.out
# stderr-file  /Users/shawnduncan/.opam/system/build/qcow-format.0.5.0/qcow-format-16327-d8a4ae.err
### stdout ###
# [...]
# findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/local/lib/ocaml/compiler-libs, /usr/local/lib/ocaml
# /Users/shawnduncan/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I lib -package astring -package cmdliner -package cstruct -package cstruct.lwt -package io-page -package io-page.unix -package logs -package logs.fmt -package lwt -package lwt.unix -package mirage-block -package mirage-block-unix -package mirage-types.lwt -package ppx_sexp_conv -package result -package sexplib -I cli -I lib -o cli/impl.cmo cli/impl.ml
# + /Users/shawnduncan/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I lib -package astring -package cmdliner -package cstruct -package cstruct.lwt -package io-page -package io-page.unix -package logs -package logs.fmt -package lwt -package lwt.unix -package mirage-block -package mirage-block-unix -package mirage-types.lwt -package ppx_sexp_conv -package result -package sexplib -I cli -I lib -o cli/impl.cmo cli/impl.ml
# findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/local/lib/ocaml/compiler-libs, /usr/local/lib/ocaml
# File "cli/impl.ml", line 108, characters 18-29:
# Error: Signature mismatch:
#        ...
#        The type `info' is required but not provided
#        The type `id' is required but not provided
# Command exited with code 2.
### stderr ###
# E: Failure("Command ''/Users/shawnduncan/.opam/system/bin/ocamlbuild' lib/qcow.cma lib/qcow.cmxa lib/qcow.a lib/qcow.cmxs cli/main.native -tag debug -classic-display' terminated with error code 10")
# make: *** [build] Error 1



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
The following actions failed
  ∗  install qcow        0.7.0
  ∗  install qcow-format 0.5.0
No changes have been performed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions