-
Notifications
You must be signed in to change notification settings - Fork 162
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
Spurious rebuilds of subpackages #1113
Comments
Just another 2¢ Outdated revisions of subpackages are still kept in repo directory instead of purging
|
x11-toolkits/libdecor hits this too. I think ports should be reverted until Poudriere is handling dependencies and cleanup properly. There are not even tests in Poudriere to keep this feature working. |
Doesn't look critical for a revert but I'm biased:
|
I am working on adding tests and fixing this issue this week. |
Note to self: The problem is probably in |
Removing the package tree with |
I wouldn't expect it to. It's not a package problem. It's a logic problem. |
I thought this would be a simple fix but it is looking like it will be just as complicated FLAVORS handling was. |
I have a test to cover this now in a local branch. bulk-build-inc-subpackage.sh
|
I have a fix for this that I am testing locally. I'll push it out in the next few days. I need to add a few more test cases. |
There is so much missing logic in incremental handling for subpackages. I fix 1 case and identify more cases. This is not a small problem. Nearly every check in Leaving this issue open/broken is the best course until all of the proper test cases are added and addressed. Otherwise we risk packages not rebuilding when they are supposed to. I am very busy with work lately. I will keep poking along on this but I don't expect a full solution soon. I still think a revert is the best course of action. This was put in without proper support in any tool. It's not enough for Poudriere to simply produce a package. It needs to know how to handle it in incremental, pkgclean, etc. #1127 (pkgclean support missing). I'm sure more will be found as I add more tests. |
poudriere cannot build a single subpackage. The pattern is 1 build -> N packages. The approach I followed was to queue the origin (AKA port) to be built. The |
freebsd/poudriere#1113 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276845 Requested by: makc (kde), bdrewery (pkgmgr) Suggested by: pizzamig (portmgr) This reverts commit 06dbf1d.
freebsd/poudriere#1113 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276845 Requested by: makc (kde), bdrewery (pkgmgr) Suggested by: pizzamig (portmgr) This reverts commit bd94cb1. This reverts commit bb176de. This reverts commit 1a1e431.
freebsd/poudriere#1113 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276845 Requested by: makc (kde), bdrewery (pkgmgr) Suggested by: pizzamig (portmgr) This reverts commit 4b4539c.
Describe the bug
poudriere always obsoletes existing packages via
new dependency
when the requested dependency moved to a different subpackage.How to reproduce
Alternatively,
SUBPACKAGES=pciids
+RUN_DEPENDS.pciids=pciids>0:misc/pciids
+ bumpPORTREVISION
new dependency
Expected behavior
Subpackages are built only once.
Screenshots
Environment
The text was updated successfully, but these errors were encountered: