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

[Suggestion] Rebuild aur packages dependant on updated packages #86

Open
JuniorJPDJ opened this issue Jan 19, 2018 · 6 comments
Open

[Suggestion] Rebuild aur packages dependant on updated packages #86

JuniorJPDJ opened this issue Jan 19, 2018 · 6 comments

Comments

@JuniorJPDJ
Copy link

Always! But always! When I try to run some app built from aur which was not updated quite long It's crashing because of updated library, but being linked to older version..
Maybe you should consider adding this to your aur helper? :P

@tleydxdy
Copy link

yes! a --rebuild flag

@JuniorJPDJ
Copy link
Author

rebuild is 1 thing, but I'm talking about rebuilding AUR packages dependent on updated packages

@JuniorJPDJ JuniorJPDJ changed the title [Suggestion] Rebuild aur packages depending on updated packages [Suggestion] Rebuild aur packages dependant on updated packages Jan 19, 2018
@AladW
Copy link

AladW commented Jan 25, 2018

This is highly non-trivial. You'd need to keep a database of all .so information. Compare:

https://github.com/vodik/pkgelf

A simpler way would be to use pacman hooks that rebuild dependent AUR packages on certain repo updates.

@JuniorJPDJ
Copy link
Author

I think it's overkill, I would just use package info and deps from here.

@Skycoder42
Copy link

Not as convenient, but a workaround solution I've create a while ago: https://aur.archlinux.org/packages/repkg/ . It allows to create simple rules when to rebuild a package. Use packages until they crash because of dependencies and then create a rule for that dependency.

@root2185
Copy link

root2185 commented Oct 2, 2023

There is https://github.com/maximbaz/rebuild-detector for this.

extra/rebuild-detector 4.4.2-1 [installed]
    Detects which packages need to be rebuilt

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

No branches or pull requests

5 participants