| Summary: | [PATCH] Fix some sanity checks so they honor CLEAN_FETCH_ENV | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Alan Somers <asomers> |
| Component: | Ports Framework | Assignee: | Port Management Team <portmgr> |
| Status: | Closed Overcome By Events | ||
| Severity: | Affects Some People | CC: | brd, portmaster, ports-bugs |
| Priority: | --- | Keywords: | patch |
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
| URL: | https://reviews.freebsd.org/D6682 | ||
|
Description
Alan Somers
2016-06-15 19:39:32 UTC
What usage does it fix, precisely ? It fixes bulk-downloading distfiles on a system that isn't able to build the ports. Here at work we use this patch to build download distfiles on a FreeBSD 9 machine even though we're intending to use those distfiles on a FreeBSD 10 machine. The ports we fetch have conflicts with the ports that are installed on the FreeBSD 9 machine. (In reply to Alan Somers from comment #2) > It fixes bulk-downloading distfiles on a system that isn't able to build the > ports. Here at work we use this patch to build download distfiles on a > FreeBSD 9 machine even though we're intending to use those distfiles on a > FreeBSD 10 machine. The ports we fetch have conflicts with the ports that > are installed on the FreeBSD 9 machine. OK. Apologies in advance, if I'm missing something here. But doesn't make fetch-recursive already provide for that? --Chris Make fetch-recursive is supposed to do that, but it fails if the port can't be built. That's what my patch fixes. To demonstrate: 1) cd editors/vim 2) make config 3) Deselect every option, including all User Interface options 4) It will tell you "Config is invalid. Re-edit? [Y/n]". Select n 5) make fetch-recursive The last step will fail with the error 'You must select one and only one option from the UI single' (In reply to Alan Somers from comment #4) > Make fetch-recursive is supposed to do that, but it fails if the port can't > be built. That's what my patch fixes. To demonstrate: > > 1) cd editors/vim > 2) make config > 3) Deselect every option, including all User Interface options > 4) It will tell you "Config is invalid. Re-edit? [Y/n]". Select n > 5) make fetch-recursive > > The last step will fail with the error 'You must select one and only one > option from the UI single' Ahh, sure. I see what you mean. That *can* be a problem. Thanks for the clarification, Alan. --Chris Ping portmgr@, can we get some review? I see the revision was abandonned. So let's close this PR as well |