void-linux / void-linux/void-packages
xbps-src prefers old local binary packages over version in template
@Chocimier is already working on this.
Since Jul 11, 2023.
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
xbps-src rebuilds dependencies listed in template, but not their runtime dependencies.
This causes errors in building packages[1][2] when such transitive dependency was build long ago enough to become uninstallable (eg. solib conflicts).
This may also cause local builds to use older version of build-time dependencies than available in template.
Reproduction simulating gtkd built before revbump for ldc:
git revert 81d682966271c
git revert 07f83ffb9bb87
./xbps-src pkg gtkd
rm hostdir/binpkgs/ldc*-1.24.0_2.x86_64.xbps
xbps-rindex --clean hostdir/binpkgs
git checkout HEAD~2
xnew a # let it makedepend on tilix (it has runtime dependency on gtkd)
./xbps-src fetch a
# gtkd-3.9.0_4: broken, unresolvable shlib `libdruntime-ldc-shared.so.94'
Ideas to fix it other than rebuilding all old local packages?
[1] https://github.com/void-linux/void-packages/pull/24765#issuecomment-855386084
[2] https://www.reddit.com/r/voidlinux/comments/nov7b2/dependency_issues_while_updating_chromium_through/
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.
Assessment
This issue has not been assessed yet.