janestreet / janestreet/patdiff

Dune Build Issue: Missing base.composition_infix Library

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
forwarded-to-js-devs
Dominant language
OCaml
Stars
252
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I am new to OCaml and want to learn from this project.

However, in the latest commit (acafaab3e8120938f9b3c917c75ba7e3796900e5), there is an error after running "make":

```
Error: Library "base.composition_infix" not found.
-> required by library "patdiff" in _build/default/lib/src
-> required by _build/default/META.patdiff
-> required by alias all
-> required by alias default
File "kernel/src/dune", line 4, characters 22-44:
4 | (libraries ansi_text base.composition_infix core core_kernel.pairing_heap
```

I guess "base.composition_infix" is not released, so the possible solution is:

1. switch to latest tag: v0.17.0
```
git checkout v0.17.0
```

2. build specific project (patdiff only)
```
dune build -p patdiff
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with make and inspect kernel/src/dune at line 4, where base.composition_infix is required. Compare the latest commit with tag v0.17.0 and run dune build -p patdiff; done means the project builds without the missing-library error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.