Skip to content

[build] depend on the canonical ounit2 library - #2331

Merged
dulmarod merged 1 commit into
meta:mainfrom
VladimirMakaev:pr/canonical-ounit2-1125
Nov 26, 2026
Merged

dulmarod merged 1 commit into
meta:mainfrom
VladimirMakaev:pr/canonical-ounit2-1125

Conversation

@VladimirMakaev

Copy link
Copy Markdown
Contributor

Some installations provide OUnit under its canonical ounit2 package name without the deprecated
oUnit transition alias. Configure and five Dune dependency lists requested the alias and rejected
these otherwise valid installations.

(libraries ounit2) ; The canonical package is sufficient.

Request ounit2 consistently in Configure and Dune. Existing OUnit/OUnit2 module names and the
other dependency checks remain unchanged.

Fixes #1987.

Test plan

  • Real OUnit 2.2.7 without the transition alias: the old request fails, the canonical request
    compiles, and a test using both OUnit and OUnit2 passes.
  • Linux native build, 73 direct suites and the annotations target pass; no expectation changes.
  • Full macOS make test: awaiting the fork CI gate before opening this PR.

Some installations provide OUnit under its canonical ounit2 package name without the deprecated
oUnit transition alias. Configure and five Dune dependency lists requested the alias and rejected
these otherwise valid installations.

```lisp
(libraries ounit2) ; The canonical package is sufficient.
```

Request ounit2 consistently in Configure and Dune. Existing OUnit/OUnit2 module names and the
other dependency checks remain unchanged.

Fixes meta#1987.

## Test plan

Build with make and run the full Linux direct_tests suite. Run the full make test suite on
macOS through fork CI before proposing the change.
@meta-cla meta-cla Bot added the CLA Signed label Nov 25, 2026
@dulmarod
dulmarod merged commit 1274c43 into meta:main Nov 26, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infer configure scripts are unable to find the oUnit library even though it is installed

2 participants