AdaCore / AdaCore/gnatcoll-bindings
[v26.0.0] The binding to the Zstd library fails to build.
Open
Nobody has claimed this yet.
- Dominant language
- Ada
- Stars
- 15
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
It appears that tightening the dependency to GNATcoll minimal (as done in this commit) is ineffective because package GNATCOLL.ZSTD.Controlled depends on GNATCOLL.OS.FS, which is not part of GNATcoll minimal.
gnatcoll-zstd-controlled.ads:34:06: error: file "gnatcoll-os.ads" not found
gnatcoll-zstd-controlled.ads:34:06: error: "GNATCOLL.ZSTD.CONTROLLED (body)" depends on "GNATCOLL.ZSTD.CONTROLLED (spec)"
gnatcoll-zstd-controlled.ads:34:06: error: "GNATCOLL.ZSTD.CONTROLLED (spec)" depends on "GNATCOLL.OS (spec)"
gnatcoll-coders-zstd.adb:194:07: warning: formal parameter "Out_Data" is read but never assigned [-gnatwv]
compilation of gnatcoll-zstd-controlled.adb failed
gprbuild: *** compilation phase failed
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the v26.0.0 build failure and start with gnatcoll-zstd-controlled.ads, which reports the missing GNATCOLL.OS dependency. Check how the GNATcoll minimal dependency is configured and inspect gnatcoll-coders-zstd.adb for the accompanying warning. Done means the Zstd binding builds successfully without the reported missing-file error.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100