Shared or pic condition not enforced on kokkos-kernels
Maintainers usually reply within 2 days
@robertexternbrink is already working on this.
Since Nov 16, 2026.
- #7702 by @robertexternbrink — open
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- hpc, python
- Domain
- build-system
Research direction
The dependency is declared in the depends_on lines of repos/spack_repo/builtin/packages/petsc/package.py around lines 405-407, under the kokkos variant. Look at how the package already constrains other dependencies by variant, then add a constraint on kokkos-kernels so that it is shared and built with PIC when petsc is +shared. Done when a spec like petsc+kokkos+shared can no longer concretize kokkos-kernels as ~shared or ~pic.
Written by the indexing model from the issue text.
Description
petsc+kokkos depends on kokkos-kernels with no constraint on how it's built. petsc is +shared by default, but the concretizer can still pick kokkos-kernels~shared with kokkos~pic. Linking libpetsc.so then fails because the static libkokkoskernels.a wasn't compiled with -fPIC.
- Dominant language
- Python
- Stars
- 158
- Forks
- 849
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 426
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a 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 spack/spack-packages
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
spack/spack-packages#7755 ·
Maintainers usually reply within 2 days
-
build-error
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
spack/spack-packages#7284 · 1 comment ·
Maintainers usually reply within 2 days
-
Installation issue: spdk +pmdk (missing pmdk dependency)Possibly taken @payerle claimed this 61 days ago. Openbuild-error
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
spack/spack-packages#6713 ·
Maintainers usually reply within 2 days
-
python packages with pypi= don't find newer relasesPossibly taken @marcmengel claimed this 61 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
spack/spack-packages#6681 · 7 comments ·
Maintainers usually reply within 2 days
-
Installation issue: pmdk +doc ~ndctl (missing pandoc)Possibly taken @payerle claimed this 64 days ago. Openbuild-error
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
spack/spack-packages#6614 ·
Maintainers usually reply within 2 days
All issues in spack/spack-packages
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
micronaut-projects/micronaut-core#14585 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
langgenius/graphon#443 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
[BUG]: Management endpoints /v1/memory/stats and /v1/memory/counts bypass API key authenticationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
docling-project/docling-serve#788 ·
Maintainers usually reply within 1 day
-
Mend: dependency security vulnerability untriaged
Difficulty 1/5 Under an hour Newbie friendliness 78/100
opensearch-project/cross-cluster-replication#1805 ·
Maintainers usually reply within 1 day