Skip to content
Snippets Groups Projects
Commit fac81a86 authored by Celeste's avatar Celeste Committed by omni
Browse files

community/ocaml-cppo: remove virtual package from makedepends

replace ocaml-ocamlbuild-dev by the concrete
ocaml-ocamlbuild that provides it.

lua-aports does not see provides in subpackages,
and so will not guarantee that ocaml-ocamlbuild-dev
is built before ocaml-cppo, which sometimes results
in ocaml-cppo being built against an old version of
ocamlbuild; using the concrete package prevents this.

Bump pkgrel to solve the error seen in 7e5b7375
(ocaml-cppo was built against old ocamlbuild for aarch64 and ppc64le)

While here, solve a few more issues with this aport:
  - remove explicit depends for -ocamlbuild subpackage

  - also, remove provides, as this will cause the same
    issue as ocaml-ocamlbuild-dev with build order not
    being guaranteed (no aport depends on ocaml-cppo-dev)

  - add --build-dir=.testenv to `dune runtest` as a
    preventive measure to avoid clobbering _build
parent d49e52aa
No related branches found
No related tags found
1 merge request!62919community/ocaml*: remove virtual ocaml-ocamlbuild-dev from makedepends
Pipeline #222027 skipped
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment