Skip to content

dune-action-trace packaging is misconfigured #13732

@shonfeder

Description

@shonfeder

Expected Behavior

opam install dune-action-trace --with-test should install without an error

Actual Behavior

Fails with a bunch of missing dependencies, such as

# Error: Library "stdune" not found.
# -> required by alias src/sat/unused-libs in src/sat/dune:1
# -> required by alias src/runtest in src/dune:1
# File "src/dag/dune", line 3, characters 12-18:
# 3 |  (libraries stdune incremental_cycles)
#                 ^^^^^^
# Error: Library "stdune" not found.
# -> required by alias src/dag/unused-libs in src/dag/dune:1
# -> required by alias src/runtest in src/dune:1
# File "src/dune_sexp/dune", line 4, characters 19-23:
# 4 |  (libraries stdune uutf))
#                        ^^^^
# Error: Library "uutf" not found.
# -> required by alias src/dune_sexp/unused-libs in src/dune_sexp/dune:1
# -> required by alias src/runtest in src/dune:1
# File "src/ocaml/dune", line 3, characters 12-18:
# 3 |  (libraries stdune dune_sexp ocaml_config))
#                 ^^^^^^
# Error: Library "stdune" not found.
# -> required by alias src/ocaml/unused-libs in src/ocaml/dune:1
# -> required by alias src/runtest in src/dune:1
# File "src/fiber/src/dune", line 3, characters 19-22:
# 3 |  (libraries stdune dyn)
#                        ^^^
# Error: Library "dyn" not found.
# -> required by alias src/fiber/src/unused-libs in src/fiber/src/dune:1
# -> required by alias src/runtest in src/dune:1
# File "src/memo/dune", line 3, characters 19-22:
# 3 |  (libraries stdune dyn dune_graph dag fiber dune_console unix)
#                        ^^^

full logs here:

https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/118a690db616b1df5c53d5fa00eb70791a80ae2c/variant/compilers,4.12,dune-action-trace.3.22.0~alpha0,tests

It looks to me like the package is misconfigured such that it is running tests it should not, e.g.,

# -> required by _build/default/test/unit-tests/ocaml-config/gh637.exe

but maybe I misunderstand, and it actually just needs a whole bunch of with-test deps added. I am not the best judge here, as I have no context on the development of this package.

Reproduction

opam pin dune-action-trace.dev git@github.com:ocaml/dune.git --with-test --verbose

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions