libvorbis: did not include cmake package configuration
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 26.2k
- Forks
- 20.1k
- PR merge metrics
- PR metrics pending
Description
Nixpkgs version
- Unstable (26.11)
Describe the bug
Expected to find
VorbisConfig.cmake
VorbisConfigVersion.cmake
VorbisTargets-release.cmake
VorbisTargets.cmake
to use by the cmake find_package command
Steps to reproduce
- Install libvorbis
- Use
find_package(Vorbis)in a project - run cmake
Expected behaviour
cmake should be creamy
Screenshots
No response
Relevant log output
CMake Error at extern/CMakeLists.txt:87 (find_package):
By not providing "FindVorbis.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Vorbis", but
CMake did not find one.
Could not find a package configuration file provided by "Vorbis" with any
of the following names:
Vorbis.cps
vorbis.cps
VorbisConfig.cmake
vorbis-config.cmake
Add the installation prefix of "Vorbis" to CMAKE_PREFIX_PATH or set
"Vorbis_DIR" to a directory containing one of the above files. If "Vorbis"
provides a separate development package or SDK, be sure it has been
installed.
Additional context
It appears that just adding cmake to nativeBuildInputs by overriding seems so solve the issue but may cause additional issue like the doc output may be gone?
System metadata
- system:
"x86_64-linux" - host os:
Linux 7.1.2, NixOS, 26.11 (Zokor), 26.11.20260701.9e92285 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.34.7 - channels(root):
"" - nixpkgs:
/nix/store/7gyywr0gaaqz927fcva9mw4ldxv8lzbr-nixpkgs/nixpkgs
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
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
Start with the reproducer at extern/CMakeLists.txt:87 and inspect how the libvorbis package is built and installed. Run the find_package(Vorbis) example against the package, then verify that the expected VorbisConfig.cmake, version, and targets files are available and the CMake configure step succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100