Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xbps-src prefers old local binary packages over version in template #31347

Open
Chocimier opened this issue Jun 7, 2021 · 6 comments
Open

xbps-src prefers old local binary packages over version in template #31347

Chocimier opened this issue Jun 7, 2021 · 6 comments
Assignees
Labels
Stale xbps-src xbps-src related

Comments

@Chocimier
Copy link
Member

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] #24765 (comment)
[2] https://www.reddit.com/r/voidlinux/comments/nov7b2/dependency_issues_while_updating_chromium_through/

@Chocimier Chocimier added the xbps-src xbps-src related label Jun 7, 2021
@ericonr
Copy link
Member

ericonr commented Jun 7, 2021

bestmatching=true? The repo list that xbps-src uses should be more tightly controlled than the one in a user's system, where bestmatching can be more dangerous.

EDIT: this would break if templates have older versions and we want to use those, I guess.

@Chocimier
Copy link
Member Author

Chocimier commented Jun 7, 2021

Hmm, this is more binary vs template, than local vs template/remote. With big push of templates, this can take form of using remote binary packages older than templates.

@github-actions
Copy link

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.

@github-actions
Copy link

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Aug 20, 2022
@github-actions github-actions bot closed this as completed Sep 3, 2022
@Duncaen Duncaen reopened this Feb 20, 2023
@Duncaen Duncaen removed the Stale label Feb 20, 2023
@github-actions
Copy link

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label May 22, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 5, 2023
@Chocimier Chocimier reopened this Jul 11, 2023
@Chocimier Chocimier self-assigned this Jul 11, 2023
@Chocimier
Copy link
Member Author

Assigning so it won't close, despite no acceptable solution known yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale xbps-src xbps-src related
Projects
None yet
Development

No branches or pull requests

3 participants