ocaml / ocaml/dune

Libraries vendoring other libraries are unusable

Open
#3,335 26 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement vendoring
Dominant language
OCaml
Stars
1.9k
Forks
500
Avg merge
15h 21m
Merged PRs (30d)
277

Description

Expected Behavior

Vendored libraries should be linked in, and probably name mangled

Actual Behavior

Vendored libraries are not installed nor linked, as a result one cannot build a binary using the library

Specifications

  • Version of dune 2.2
  • Version of ocaml 4.07.1
  • Operating system (distribution and version): Ubuntu LTS 18

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the issue discussion and the parts of Dune handling vendored-library installation, linking, and name mangling. Confirm the expected behavior for a library that vendors another library, then verify that a binary depending on it can build successfully with the vendored library linked in.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.