Option to fail poudriere bulk -b
if ports listed in PACKAGE_FETCH_WHITELIST
are skipped
#1129
Open
1 task done
Labels
Prerequisites
What is your proposal?
Have a
poudriere.conf
option such asPACKAGE_FETCH_WHITELIST_FAIL_ON_SKIP=yes
to cause any packages listed inPACKAGE_FETCH_WHITELIST
to fail the entire build if they are skipped while fetching.What is the existing behavior, if any?
The build does mention the reason why fetching is skipped, but it silently continues building the unfetched ports.
What is the motivation / use case for the change?
I have a poudriere server that is as powerful as I can afford right now. It still takes multiple hours to build massive ports such as
lang/rust
due to CPU and RAM constraints.lang/rust
seems to be more and more prevalent as a build dependency for many ports I use in my pkglist.Instead of trying to build this from source and wait hours before successful
poudriere bulk
builds, I'd like to fetch the binary instead, sincelang/rust
is just a build-time dependency for my desired ports only. However, due to Rust's relatively fast upstream release cadence and FreeBSD's official pkg repolatest
branch cadence, it takes a while before the newest version oflang/rust
hits the official pkg repo. This causes mypoudriere bulk -b
build to skip fetchinglang/rust
due to a local/remote ports version mismatch (since I keep my local checkout of the ports repo up-to-date).lang/rust
is the only port in myPACKAGE_FETCH_WHITELIST
. I'd like to have the option to fail mypoudriere bulk -b
run when this package gets skipped while fetching. This would allow me to manually go to my local ports checkout, switch to a previous version oflang/rust
that matches the latest official pkg repo version, and rebuild. This will save me hours of time and quite a bit of power usage as well from avoiding the heavy build oflang/rust
.Did you consider any alternatives?
Is this really a ports feature request?
N/A
Example
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: