-
Notifications
You must be signed in to change notification settings - Fork 470
Dependency cycle when using glob_files to install files to bin section #6708
Copy link
Copy link
Closed
ocaml/opam-repository
#23349Description
Expected Behavior
Same behavior as listing the files explicitly without glob: the files can be installed to prefix/bin.
Actual Behavior
Dependency cycle between:
Evaluating predicate in directory _build/default
Reproduction
echo "(lang dune 3.6)\n(package (name foo))" > dune-projectecho "(install (section bin) (files (glob_files *.h)))" > dunetouch foo.hdune build @install
Specifications
- Version of
dune(output ofdune --version): 3.6.1 - Version of
ocaml(output ofocamlc --version): 4.14.0 - Operating system (distribution and version): macOS Montery 12.6
Additional information
- It works when you specify
foo.hexplicitly instead of using a glob - Specifying another
section(e.g.lib) instead ofbinworks - Using
include include.sexpwhereinclude.sexpcontains("foo.h")or using a rule to generateinclude.sexpproduces the same dependency cycle error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels