Opened 6 years ago
Closed 6 years ago
#57571 closed enhancement (fixed)
mpbb-install-port should use --unrequested
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | admin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | buildbot/mpbb | Version: | |
Keywords: | haspatch | Cc: | |
Port: |
Description
mpbb-install-dependencies runs port install
with --unrequested
but mpbb-install-port doesn't. This results in some ports being installed requested, and others not, depending on the order in which the builds were run.
For example, on an empty worker, if we build zlib and then libpng (which depends on zlib), the first build would mark zlib requested and the second would mark libpng requested (and would not change zlib because it is already installed), while doing it in the other order would first mark zlib unrequested and libpng requested, and the second build would not change the marking of zlib because it is already installed.
Depending on the worker, 72-83% of ports installed are marked requested while the remainder are marked unrequested. Is this distinction supposed to be useful for something? It doesn't seem useful to me, and I suggest all ports should be marked the same way. Marking all ports as unrequested would have the advantage that port leaves
could be used to identify ports not being used by other installed ports, which could then be uninstalled if the second suggestion from #57464 (have mpbb uninstall a port if nothing depends on it) is implemented.
Change History (2)
comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
comment:2 Changed 6 years ago by Ryan Schmidt <git@…>
Resolution: | → fixed |
---|---|
Status: | new → closed |
In f114e42daf9d9a263ee4cdb7555dc7c4a623755b/mpbb (master):
https://github.com/macports/mpbb/pull/11