iovisor / iovisor/bcc

Man pages are installed to wrong location

Open
#4,926 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
5d 13h
Merged PRs (30d)
3

Description

Hi! 👋

When looking into the packaging for Arch Linux I noticed that the man pages are installed to a hardcoded location:

https://github.com/iovisor/bcc/blob/6cd272189771bbc7120d9d834e2588b93d8e9cfa/man/man8/CMakeLists.txt#L12

On Linux distributions the usual directory for man pages is below /usr/share/man/, while the directory /usr/share/bcc/ is for any other additional architecture-independent data specific to bcc.

Is there a reason the files are being installed to this location? This way they can not be picked up by any man implementation.

Contributor guide

No contributing guide indexed for this repository

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 with man/man8/CMakeLists.txt at the linked installation rule and inspect how the man-page destination is chosen. Compare it with the standard Linux man-page location under /usr/share/man/. Done means the BCC man pages install where man implementations can discover them; verify the packaging behavior after the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, linux
Domain
build-system, documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.