Best Revdep Practice (was Libreoffice 6.3.0.2 Config Error)
On 19Jul23:1708+0200, Tim wrote:
On Tue, 23 Jul 2019 14:50:30 +0000 > "David L. Craig" <dlc.usa@gmail.com> wrote:
Revdep indeed is unhappy, but this is the final package of a sysup run. Does prt-get sysup run revdep and rebuild any packages that turn up in between every package it updates? Should it? If so, false positives become a real nuisance.
I am not sure I am the right person to answer this. But it doesn't do that. You can do the following until revdep is happy, it might take 2 or 3 runs: prt-get update -fr $(revdep)
I guess I need to ask frinnst et al. Running revdep has become de rigour to maintain CRUX platforms, it's just a question of how often. It seems to me revdep after every package install/update followed by rebuilding all flagged packages is becoming necessary. I would consider the platform broken as long as the affected packages are not rebuilt. But the impact of rebuilding qt5 etc. any time revdep determines the need is not trivial.
Or you know how to identify which library or package broke when you run: revdep -vvv harfbuzz-icu revdep -vvv boost
I think the itchiness of deeper analysis within revdep to eliminate false positives is increasing. So, everyone, what is best CRUX practice regarding revdep, and what changes, if any, do you think are indicated? -- <not cent from sell> May the LORD God bless you exceedingly abundantly! Dave_Craig______________________________________________ "So the universe is not quite as you thought it was. You'd better rearrange your beliefs, then. Because you certainly can't rearrange the universe." __--from_Nightfall_by_Asimov/Silverberg_________________
On 2019-07-23 19:01, David L. Craig wrote:
I guess I need to ask frinnst et al. Running revdep has become de rigour to maintain CRUX platforms, it's just a question of how often. It seems to me revdep after every package install/update followed by rebuilding all flagged packages is becoming necessary. I would consider the platform broken as long as the affected packages are not rebuilt. But the impact of rebuilding qt5 etc. any time revdep determines the need is not trivial.
<--snip-->
So, everyone, what is best CRUX practice regarding revdep, and what changes, if any, do you think are indicated?
You generally (in a perfect world) would not need to run revdep. But as is the case with a source-based distribution and port maintainer screwups it will happen. Obviously I'm not saying that every time something breaks someone screwed up :-) We generally try to keep abi compabilities and library breakage down to an absolute minimum. Every time an expected breakage occurs, a notification should have been sent to this mailinglist. If you keep your CRUX installation up to date and is subscribed to this mailinglist it should be pretty easy to keep on top of. Such notifications usually look something like this: https://lists.crux.nu/pipermail/crux/2018-October/005939.html Obviously this gets a bit more tricky with new installations and the "first sysup" since that becomes a bit more unpredictable. As for recommendations or "best practice" it's hard to say. Obviously it's one of the first debugging steps to take if you encounter build errors or crashes. If you uninstall a library, a revdep run would be encouraged since even ports that doesn't *depend* on said library might link against it. So. What could be done to prevent these types of issues? Two things: 1. Create a policy that prevents port maintainers to break abi. That would almost make CRUX a source based debian-stable. 2. Prevent users from removing packages. Don't think any of those two choices are desirable ;-) /f
participants (2)
-
David L. Craig
-
Fredrik