It's frustrating that the Makefile can't install as a relocatable package
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- perl
- Domain
- build-system
Research direction
Start by reading the Makefile's install target and the handling of --fixlibdir, --fixbindir, and --fixscriptdir. Trace how these options affect installed paths, then define and verify a separate relocatable-install target that preserves relative package paths without hardcoded locations.
Written by the indexing model from the issue text.
Description
The only way to install lcov using its makefile install target, forces options like --fixlibdir, --fixbindir, and --fixscriptdir, which means that the installation contains hardcoded paths and is not relocatable. Without these options the installation is relocatable, as long as you keep the relative paths of the package correct.
I understand that the current install allows the files in bin to be copied somewhere else, by themselves, and still work. I'm not really sure who would use this feature (you can't move the bin directory since bindir is a hardcoded path) versus something like symlinks, but OK.
It would be great if there were a makefile target that allowed installation in a relocatable fashion. I originally thought maybe it could be done by just moving a lot of these options into a make variable that could be overridden on the command line, but it seems the combination of options is complex enough to make that tricky. A separate target, like install-reloc or something, might be simpler.
- Dominant language
- Shell
- Stars
- 1.1k
- Forks
- 272
- Avg merge
- 2h 42m
- Merged PRs (30d)
- 8
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from linux-test-project/lcov
-
On macOS, lcovutil.pm loads itself twice and warns "Subroutine ... redefined" for each subroutineOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
linux-test-project/lcov#574 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
linux-test-project/lcov#546 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
linux-test-project/lcov#409 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
linux-test-project/lcov#318 · 8 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
linux-test-project/lcov#284 · 11 comments ·
All issues in linux-test-project/lcov
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
docker/sbx-releases#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
🐳 docker 👩💻 DevOps API backend
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openfoodfacts/search-a-licious#613 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
nolabs-ai/nono-packs#70 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pingcap/monitoring#1284 ·
Maintainers usually reply within 1 day