Helper script "whatprovides" function does not find package for absl_meta
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 141
- Forks
- 146
- Avg merge
- 11h 7m
- Merged PRs (30d)
- 407
Description
Summary
When using the whatprovides command for absl_meta no results are returned
Steps to reproduce
Run this in any of the 3 supported shells (bash, zsh, fish)
whatprovides absl_meta
Expected result
Info on abseil-cpp
Actual result
No output
Environment
- Is system up to date?
Repo
Unstable
Desktop Environment
Plasma
System details
n/a
Other comments
The logic in the scripts is searching the abi_libs files for the package that provides the named dependency. In bash:
grep $1 $(git rev-parse --show-toplevel)/packages/*/*/abi_libs
For abseil-cpp there is only a reference in pspec_x86_64.xml
~/p/packages ❯❯❯ rg absl_meta update_mongodb ⬆ ✭ ◼
packages/a/abseil-cpp/pspec_x86_64.xml
561: <Path fileType="data">/usr/lib64/pkgconfig/absl_meta.pc</Path>
packages/m/mongodb/package.yml
13: - pkgconfig(absl_meta)
Either the package is misconfigured, or the function needs to search the pspec file when no results are returned searching the abi_libs
Contributor guide
No contributing guide indexed for this repository
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 at the whatprovides helper in each supported shell and reproduce the absl_meta lookup. Inspect the abi_libs search alongside the abseil-cpp pspec_x86_64.xml entry; done means whatprovides absl_meta reports abseil-cpp instead of returning no output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, fish, shell, zsh
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100