Revert "testport/bulk -t: Make stage-qa library dependencies check fatal."
This reverts commit 24aa0dda088c08aafd2f317c67dc4c271177157c.
The qa check needs more work. There are at least 2 cases:
1. A library happens to be installed by a dependency, _is needed_,
and gets linked in without a `LIB_DEPENDS`.
2. A library happens to be installed by a dependency, _is not needed_,
and is _overlinked_. The qa check suggests to add a `LIB_DEPENDS`
which is not the right advice.
Update the shlib warnings to note the stage-qa failure is silent.
testport: Fix testing of an IGNORE/BROKEN port.
- Also fixes old bulk bug with empty repo, on an IGNORED port, resulting in an
error trying to build repo without pkg having been built yet.
- Also fixes old testport bug with -P leftover error of /prefix.
- Also fixes old testport bug of empty repo on BROKEN port not building pkg.
- Add several new tests covering these cases and more.
- testport on an IGNORED port no longer consider it as a "failure"
for stats.
Fixes: b95a9ee02 ("testport: Don't spin up a builder if not needed")
Fixes: bac5acb8f ("build_port: Can fetch NEED_ROOT upfront.")
test jobs.sh SH=/bin/sh: Improve racy test
commit 3085e8acd748dd tweaked this check to deal with Running
or Done, but needs to deal with the %- job being different
as well.
testport/bulk -t: Make stage-qa library dependencies check fatal.
This now forces PROXYDEPS_FATAL on for stage-qa when in test mode.
The PKG_NO_VERSION_FOR_DEPS feature depends on packages having proper
dependencies recorded. Pkg likely does too.
parallel_exec: Simplify; avoid a fork.
Like build_queue_runner() we can avoid needing to mess
with subshells or set -e by using an exit trap to write
back to the job pipe.
jobs_with_statuses: Avoid requiring a pipe to use this
This also avoids creating a giant multi-line string as the result
and instead returns 1 line at a time. This will allow an optimal
builtin.
tests expect_error_on_stderr: try to allow the child to error.
That is, before if the child threw an error we might never
see stderr. Now we should.
This requires disabling a few assertions that check for no job %1 which
now exists within here.