diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-10-26 19:37:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-11-02 14:04:09 +0300 |
commit | 87a284335715301fa2cea695386bfcd21a2fe781 (patch) | |
tree | 7eef5599883afd9ab34b897d58596dd19d59bed4 | |
parent | a72e358d7a2df330f61ad9e73137b18225bdc5cc (diff) |
Load both user and dependent configurations in (pre-)reevaluate modes
-rw-r--r-- | bpkg/package-skeleton.cxx | 45 | ||||
-rw-r--r-- | bpkg/package-skeleton.hxx | 12 | ||||
-rw-r--r-- | bpkg/pkg-build-collect.cxx | 15 | ||||
-rw-r--r-- | bpkg/pkg-build-collect.hxx | 3 | ||||
-rw-r--r-- | bpkg/pkg-configure.cxx | 3 | ||||
-rw-r--r-- | tests/common/dependency-alternatives/t11a/fex-0.1.0.tar.gz | bin | 0 -> 440 bytes | |||
-rw-r--r-- | tests/common/dependency-alternatives/t11a/fux-0.1.0.tar.gz | bin | 0 -> 443 bytes | |||
-rw-r--r-- | tests/common/dependency-alternatives/t11a/fux-0.2.0.tar.gz | bin | 0 -> 486 bytes | |||
-rw-r--r-- | tests/common/dependency-alternatives/t11a/fux-1.0.0.tar.gz | bin | 419 -> 429 bytes | |||
-rw-r--r-- | tests/pkg-build.testscript | 338 |
10 files changed, 253 insertions, 163 deletions
diff --git a/bpkg/package-skeleton.cxx b/bpkg/package-skeleton.cxx index 567f2e7..7effca0 100644 --- a/bpkg/package-skeleton.cxx +++ b/bpkg/package-skeleton.cxx @@ -157,10 +157,12 @@ namespace bpkg db_ (v.db_), var_prefix_ (move (v.var_prefix_)), config_vars_ (move (v.config_vars_)), + config_var_srcs_ (move (v.config_var_srcs_)), disfigure_ (v.disfigure_), config_srcs_ (v.config_srcs_), src_root_ (move (v.src_root_)), out_root_ (move (v.out_root_)), + load_old_dependent_config_ (v.load_old_dependent_config_), created_ (v.created_), verified_ (v.verified_), loaded_old_config_ (v.loaded_old_config_), @@ -194,10 +196,12 @@ namespace bpkg db_ = v.db_; var_prefix_ = move (v.var_prefix_); config_vars_ = move (v.config_vars_); + config_var_srcs_ = move (v.config_var_srcs_); disfigure_ = v.disfigure_; config_srcs_ = v.config_srcs_; src_root_ = move (v.src_root_); out_root_ = move (v.out_root_); + load_old_dependent_config_ = v.load_old_dependent_config_; created_ = v.created_; verified_ = v.verified_; loaded_old_config_ = v.loaded_old_config_; @@ -231,10 +235,12 @@ namespace bpkg db_ (v.db_), var_prefix_ (v.var_prefix_), config_vars_ (v.config_vars_), + config_var_srcs_ (v.config_var_srcs_), disfigure_ (v.disfigure_), config_srcs_ (v.config_srcs_), src_root_ (v.src_root_), out_root_ (v.out_root_), + load_old_dependent_config_ (v.load_old_dependent_config_), created_ (v.created_), verified_ (v.verified_), loaded_old_config_ (v.loaded_old_config_), @@ -296,7 +302,8 @@ namespace bpkg bool df, const vector<config_variable>* css, optional<dir_path> src_root, - optional<dir_path> out_root) + optional<dir_path> out_root, + bool load_old_dependent_config) : package (move (pk)), system (sys), available (move (ap)), @@ -305,21 +312,28 @@ namespace bpkg var_prefix_ ("config." + package.name.variable ()), config_vars_ (move (cvs)), disfigure_ (df), - config_srcs_ (df ? nullptr : css) + config_srcs_ (df ? nullptr : css), + load_old_dependent_config_ (load_old_dependent_config) { if (available != nullptr) assert (available->bootstrap_build); // Should have skeleton info. else assert (system); + if (!config_vars_.empty ()) + config_var_srcs_ = vector<config_source> (config_vars_.size (), + config_source::user); + // We are only interested in old user configuration variables. // if (config_srcs_ != nullptr) { if (find_if (config_srcs_->begin (), config_srcs_->end (), - [] (const config_variable& v) + [this] (const config_variable& v) { - return v.source == config_source::user; + return v.source == config_source::user || + (load_old_dependent_config_ && + v.source == config_source::dependent); }) == config_srcs_->end ()) config_srcs_ = nullptr; } @@ -1896,8 +1910,10 @@ namespace bpkg // First comes the user configuration. // - for (const string& v: config_vars_) + for (size_t i (0); i != config_vars_.size (); ++i) { + const string& v (config_vars_[i]); + size_t vn; if (project_override (v, var_prefix_, &vn)) { @@ -1911,8 +1927,17 @@ namespace bpkg continue; } + const char* s (nullptr); + + switch (config_var_srcs_[i]) + { + case config_source::user: s = "user"; break; + case config_source::dependent: s = "dependent"; break; + case config_source::reflect: assert (false); // Must never be loaded. + } + print (v) << " (" << (system ? "expected " : "") - << "user configuration)"; + << s << " configuration)"; } } @@ -2253,12 +2278,15 @@ namespace bpkg { assert (!disfigure_); - auto i (config_vars_.begin ()); // Insert position, see below. + auto i (config_vars_.begin ()); // Insert position, see below. + auto j (config_var_srcs_.begin ()); // Insert position, see below. names storage; for (const config_variable& v: *config_srcs_) { - if (v.source != config_source::user) + if (!(v.source == config_source::user || + (load_old_dependent_config_ && + v.source == config_source::dependent))) continue; using config::variable_origin; @@ -2288,6 +2316,7 @@ namespace bpkg i, serialize_cmdline (v.name, *ol.second, storage)) + 1; + j = config_var_srcs_.insert (j, v.source) + 1; break; } case variable_origin::undefined: diff --git a/bpkg/package-skeleton.hxx b/bpkg/package-skeleton.hxx index bc5d25c..04abc0e 100644 --- a/bpkg/package-skeleton.hxx +++ b/bpkg/package-skeleton.hxx @@ -68,7 +68,8 @@ namespace bpkg bool disfigure, const vector<config_variable>* config_srcs, optional<dir_path> src_root, - optional<dir_path> out_root); + optional<dir_path> out_root, + bool load_old_dependent_config); package_key package; @@ -253,6 +254,13 @@ namespace bpkg string var_prefix_; // config.<project> strings config_vars_; + + // Configuration sources for variables in config_vars_ (parallel). Can + // only contain config_source::{user,dependent} entries (see + // load_old_config() for details). + // + vector<config_source> config_var_srcs_; + bool disfigure_; const vector<config_variable>* config_srcs_; // NULL if nothing to do or // already done. @@ -260,6 +268,8 @@ namespace bpkg dir_path src_root_; // Must be absolute and normalized. dir_path out_root_; // If empty, the same as src_root_. + bool load_old_dependent_config_; + bool created_ = false; bool verified_ = false; bool loaded_old_config_; diff --git a/bpkg/pkg-build-collect.cxx b/bpkg/pkg-build-collect.cxx index b1306b5..f664bf7 100644 --- a/bpkg/pkg-build-collect.cxx +++ b/bpkg/pkg-build-collect.cxx @@ -366,7 +366,8 @@ namespace bpkg init_skeleton (const common_options& options, const shared_ptr<available_package>& override, optional<dir_path> src_root, - optional<dir_path> out_root) + optional<dir_path> out_root, + bool load_old_dependent_config) { shared_ptr<available_package> ap (override != nullptr ? override @@ -406,7 +407,8 @@ namespace bpkg disfigure, (selected != nullptr ? &selected->config_variables : nullptr), move (src_root), - move (out_root)); + move (out_root), + load_old_dependent_config); return *skeleton; } @@ -2108,15 +2110,16 @@ namespace bpkg if (!pkg.skeleton) { - // In the pre-reevaluation mode make sure that the user-specified - // configuration is loaded by the skeleton. + // In the (pre-)reevaluation mode make sure that the user-specified + // and the dependent configurations are both loaded by the skeleton. // - if (pre_reeval) + if (pre_reeval || reeval) { pkg.init_skeleton (options, nullptr /* override */, sp->effective_src_root (pdb.config), - sp->effective_out_root (pdb.config)); + sp->effective_out_root (pdb.config), + true /* load_old_dependent_config */); } else pkg.init_skeleton (options); diff --git a/bpkg/pkg-build-collect.hxx b/bpkg/pkg-build-collect.hxx index e34fc25..d64abc5 100644 --- a/bpkg/pkg-build-collect.hxx +++ b/bpkg/pkg-build-collect.hxx @@ -455,7 +455,8 @@ namespace bpkg init_skeleton (const common_options&, const shared_ptr<available_package>& override = nullptr, optional<dir_path> src_root = nullopt, - optional<dir_path> out_root = nullopt); + optional<dir_path> out_root = nullopt, + bool load_old_dependent_config = false); }; using build_package_list = std::list<reference_wrapper<build_package>>; diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx index c145b28..0850001 100644 --- a/bpkg/pkg-configure.cxx +++ b/bpkg/pkg-configure.cxx @@ -1108,7 +1108,8 @@ namespace bpkg false /* disfigure */, &p->config_variables, move (src_root), - move (out_root)), + move (out_root), + true /* load_old_dependent_config */), nullptr /* prerequisites */, false /* disfigured */, false /* simulate */); diff --git a/tests/common/dependency-alternatives/t11a/fex-0.1.0.tar.gz b/tests/common/dependency-alternatives/t11a/fex-0.1.0.tar.gz Binary files differnew file mode 100644 index 0000000..160601b --- /dev/null +++ b/tests/common/dependency-alternatives/t11a/fex-0.1.0.tar.gz diff --git a/tests/common/dependency-alternatives/t11a/fux-0.1.0.tar.gz b/tests/common/dependency-alternatives/t11a/fux-0.1.0.tar.gz Binary files differnew file mode 100644 index 0000000..563761e --- /dev/null +++ b/tests/common/dependency-alternatives/t11a/fux-0.1.0.tar.gz diff --git a/tests/common/dependency-alternatives/t11a/fux-0.2.0.tar.gz b/tests/common/dependency-alternatives/t11a/fux-0.2.0.tar.gz Binary files differnew file mode 100644 index 0000000..4966b0d --- /dev/null +++ b/tests/common/dependency-alternatives/t11a/fux-0.2.0.tar.gz diff --git a/tests/common/dependency-alternatives/t11a/fux-1.0.0.tar.gz b/tests/common/dependency-alternatives/t11a/fux-1.0.0.tar.gz Binary files differindex b045fcd..c723ef9 100644 --- a/tests/common/dependency-alternatives/t11a/fux-1.0.0.tar.gz +++ b/tests/common/dependency-alternatives/t11a/fux-1.0.0.tar.gz diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript index aa99056..a37ea9f 100644 --- a/tests/pkg-build.testscript +++ b/tests/pkg-build.testscript @@ -222,9 +222,12 @@ # | | libfoo {prefer {config.libfoo.extras=true} accept (true)} | # | | libbar {require {config.libbar.extras=true}} # | |-- fox-1.0.0.tar.gz -> libfoo {require {config.libfoo.extras=true}} +# | |-- fux-0.1.0.tar.gz -> libfoo ? ($config.fux.extras=true) +# | |-- fux-0.2.0.tar.gz -> libfoo {enable($config.fux.extras=true) require {config.libfoo.extras=true}} # | |-- fux-1.0.0.tar.gz -> libfoo # | |-- fix-0.1.0.tar.gz -> foo == 0.1.0 # | |-- fix-1.0.0.tar.gz -> foo {require {config.foo.extras=true}} +# | |-- fex-0.1.0.tar.gz -> fux {require {config.fux.extras=true}} # | |-- fex-1.0.0.tar.gz -> foo, libfoo {require {config.libfoo.extras=true}} # | |-- bar-0.1.0.tar.gz -> libbar == 0.1.0 {require {config.libbar.extras=true}} # | |-- bar-1.0.0.tar.gz -> libbar {require {config.libbar.extras=true}} @@ -6359,6 +6362,193 @@ test.arguments += --sys-no-query $pkg_drop fex } + : reconfigure-existing-dependent + : + { + +$clone_cfg + + : require-clause + : + { + $clone_cfg; + + # Dependencies: + # + # fex: depends: fux(c) + # + # fux: depends: libfoo(c) ? + # + $* fex/0.1.0 fux/0.2.0 2>!; + + $pkg_status -r >>EOO; + !fux configured !0.2.0 available 1.0.0 + libfoo configured 1.0.0 + !fex configured !0.1.0 available 1.0.0 + !fux configured !0.2.0 available 1.0.0 + libfoo configured 1.0.0 + EOO + + cat cfg/fux-0.2.0/build/config.build >>~%EOO%; + %.* + config.fux.extras = true + config.fux.network = false + %.* + EOO + + $* ?libfoo/0.1.0 2>&1 | $filter 2>>~%EOE%; + %.* + trace: pkg_build: refine package collection/plan execution from scratch + trace: execute_plan: simulate: yes + trace: evaluate_dependency: libfoo/1.0.0: update to libfoo/0.1.0 + trace: pkg_build: refine package collection/plan execution + trace: collect_build_prerequisites: pre-reeval fux/0.2.0 + trace: collect_build_prerequisites: pre-reevaluated fux/0.2.0: 1,1 + trace: collect_build_prerequisites: cfg-postpone dependency libfoo/0.1.0 of existing dependent fux/0.2.0 due to dependency libfoo/0.1.0 + trace: collect_build: add fux/0.2.0 + trace: postponed_configurations::add: create {fux^ | libfoo->{fux/1,1}} + trace: collect_build_postponed (0): begin + trace: collect_build_postponed (1): begin {fux^ | libfoo->{fux/1,1}} + trace: collect_build_prerequisites: pre-reeval fux/0.2.0 + trace: collect_build_prerequisites: pre-reevaluated fux/0.2.0: 1,1 + trace: collect_build_postponed (1): re-evaluate existing dependents for {fux^ | libfoo->{fux/1,1}} + trace: collect_build_prerequisites: reeval fux/0.2.0 + trace: collect_build: pick libfoo/0.1.0 over libfoo/1.0.0 + trace: postponed_configurations::add: add {fux^ 1,1: libfoo} to {fux^ | libfoo->{fux/1,1}} + trace: collect_build_prerequisites: re-evaluating dependent fux/0.2.0 results in {fux^ | libfoo->{fux/1,1}} + trace: collect_build_prerequisites: re-evaluated fux/0.2.0 + trace: collect_build_postponed (1): cfg-negotiate begin {fux^ | libfoo->{fux/1,1}} + trace: collect_build_postponed (1): recursively collect cfg-negotiated dependencies + trace: collect_build_prerequisites: begin libfoo/0.1.0 + trace: collect_build_prerequisites: end libfoo/0.1.0 + trace: collect_build_postponed (1): recursively collect cfg-negotiated dependents + trace: collect_build_postponed (1): select cfg-negotiated dependency alternative for dependent fux/0.2.0 + trace: collect_build_prerequisites: resume fux/0.2.0 + trace: collect_build_prerequisites: end fux/0.2.0 + trace: collect_build_postponed (1): cfg-negotiate end {fux^ | libfoo->{fux/1,1}}! + trace: collect_build_postponed (1): end {fux^ | libfoo->{fux/1,1}} + trace: collect_build_postponed (0): end + trace: execute_plan: simulate: yes + %.* + build plan: + downgrade libfoo/0.1.0 + config.libfoo.extras=true (set by fux) + reconfigure fux/0.2.0 (dependent of libfoo) + config.fux.extras=true (dependent configuration) + reconfigure fex (dependent of fux) + trace: execute_plan: simulate: no + %.* + EOE + + $pkg_status -r >>EOO; + !fux configured !0.2.0 available 1.0.0 + libfoo configured !0.1.0 available 1.0.0 + !fex configured !0.1.0 available 1.0.0 + !fux configured !0.2.0 available 1.0.0 + libfoo configured !0.1.0 available 1.0.0 + EOO + + cat cfg/fux-0.2.0/build/config.build >>~%EOO%; + %.* + config.fux.extras = true + config.fux.network = false + %.* + EOO + + $pkg_drop fex fux + } + + : require-clause-user-config + : + { + $clone_cfg; + + # Dependencies: + # + # fex: depends: fux(c) + # + # fux: depends: libfoo(c) ? + # + $* fex/0.1.0 fux/0.2.0 +{ config.fux.network=true } 2>!; + + $pkg_status -r >>EOO; + !fux configured !0.2.0 available 1.0.0 + libfoo configured 1.0.0 + !fex configured !0.1.0 available 1.0.0 + !fux configured !0.2.0 available 1.0.0 + libfoo configured 1.0.0 + EOO + + cat cfg/fux-0.2.0/build/config.build >>~%EOO%; + %.* + config.fux.extras = true + config.fux.network = true + %.* + EOO + + $* ?libfoo/0.1.0 2>&1 | $filter 2>>~%EOE%; + %.* + trace: pkg_build: refine package collection/plan execution from scratch + trace: execute_plan: simulate: yes + trace: evaluate_dependency: libfoo/1.0.0: update to libfoo/0.1.0 + trace: pkg_build: refine package collection/plan execution + trace: collect_build_prerequisites: pre-reeval fux/0.2.0 + trace: collect_build_prerequisites: pre-reevaluated fux/0.2.0: 1,1 + trace: collect_build_prerequisites: cfg-postpone dependency libfoo/0.1.0 of existing dependent fux/0.2.0 due to dependency libfoo/0.1.0 + trace: collect_build: add fux/0.2.0 + trace: postponed_configurations::add: create {fux^ | libfoo->{fux/1,1}} + trace: collect_build_postponed (0): begin + trace: collect_build_postponed (1): begin {fux^ | libfoo->{fux/1,1}} + trace: collect_build_prerequisites: pre-reeval fux/0.2.0 + trace: collect_build_prerequisites: pre-reevaluated fux/0.2.0: 1,1 + trace: collect_build_postponed (1): re-evaluate existing dependents for {fux^ | libfoo->{fux/1,1}} + trace: collect_build_prerequisites: reeval fux/0.2.0 + trace: collect_build: pick libfoo/0.1.0 over libfoo/1.0.0 + trace: postponed_configurations::add: add {fux^ 1,1: libfoo} to {fux^ | libfoo->{fux/1,1}} + trace: collect_build_prerequisites: re-evaluating dependent fux/0.2.0 results in {fux^ | libfoo->{fux/1,1}} + trace: collect_build_prerequisites: re-evaluated fux/0.2.0 + trace: collect_build_postponed (1): cfg-negotiate begin {fux^ | libfoo->{fux/1,1}} + trace: collect_build_postponed (1): recursively collect cfg-negotiated dependencies + trace: collect_build_prerequisites: begin libfoo/0.1.0 + trace: collect_build_prerequisites: end libfoo/0.1.0 + trace: collect_build_postponed (1): recursively collect cfg-negotiated dependents + trace: collect_build_postponed (1): select cfg-negotiated dependency alternative for dependent fux/0.2.0 + trace: collect_build_prerequisites: resume fux/0.2.0 + trace: collect_build_prerequisites: end fux/0.2.0 + trace: collect_build_postponed (1): cfg-negotiate end {fux^ | libfoo->{fux/1,1}}! + trace: collect_build_postponed (1): end {fux^ | libfoo->{fux/1,1}} + trace: collect_build_postponed (0): end + trace: execute_plan: simulate: yes + %.* + build plan: + downgrade libfoo/0.1.0 + config.libfoo.extras=true (set by fux) + reconfigure fux/0.2.0 (dependent of libfoo) + config.fux.network=true (user configuration) + config.fux.extras=true (dependent configuration) + reconfigure fex (dependent of fux) + trace: execute_plan: simulate: no + %.* + EOE + + $pkg_status -r >>EOO; + !fux configured !0.2.0 available 1.0.0 + libfoo configured !0.1.0 available 1.0.0 + !fex configured !0.1.0 available 1.0.0 + !fux configured !0.2.0 available 1.0.0 + libfoo configured !0.1.0 available 1.0.0 + EOO + + cat cfg/fux-0.2.0/build/config.build >>~%EOO%; + %.* + config.fux.extras = true + config.fux.network = true + %.* + EOO + + $pkg_drop fex fux + } + } + : premature : { @@ -14279,19 +14469,15 @@ test.arguments += --sys-no-query libbox configured 1.0.0 EOO - $* --upgrade --recursive 2>>~%EOE%; + $* --upgrade --recursive 2>&1 | $filter 2>>~%EOE%; %.* trace: pkg_build: refine package collection/plan execution from scratch - %.* trace: collect_build: add libbar/1.0.0 trace: collect_build: add dex/1.0.0 trace: collect_build: add diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reeval bar/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bar/1.0.0: 1,1 trace: collect_build_prerequisites: pre-reeval diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated diz/1.0.0: 1,1 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of existing dependent bar/1.0.0 due to dependency libbar/1.0.0 trace: collect_build: add bar/1.0.0 @@ -14303,27 +14489,21 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: skip configured diz/1.0.0 trace: collect_build_postponed (0): begin trace: collect_build_postponed (1): begin {bar^ | libbar->{bar/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bar/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bar/1.0.0: 1,1 trace: collect_build_prerequisites: pre-reeval diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated diz/1.0.0: 1,1 trace: collect_build_postponed (1): re-evaluate existing dependents for {bar^ | libbar->{bar/1,1}} trace: collect_build_prerequisites: reeval bar/1.0.0 - %.* trace: collect_build: pick libbar/1.0.0 over libbar/0.1.0 trace: postponed_configurations::add: add {bar^ 1,1: libbar} to {bar^ | libbar->{bar/1,1}} trace: collect_build_prerequisites: re-evaluating dependent bar/1.0.0 results in {bar^ | libbar->{bar/1,1}} trace: collect_build_prerequisites: re-evaluated bar/1.0.0 trace: collect_build_prerequisites: reeval diz/1.0.0 - %.* trace: postponed_configurations::add: add {diz^ 1,1: dox} to {diz^ | dox->{diz/1,1}} trace: collect_build_prerequisites: re-evaluating dependent diz/1.0.0 results in {diz^ | dox->{diz/1,1}} trace: collect_build_prerequisites: re-evaluated diz/1.0.0 trace: collect_build_postponed (1): cfg-negotiate begin {bar^ | libbar->{bar/1,1}} - %.* trace: collect_build_postponed (1): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin libbar/1.0.0 trace: collect_build_prerequisites: end libbar/1.0.0 @@ -14333,27 +14513,19 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end bar/1.0.0 trace: collect_build_postponed (1): cfg-negotiate end {bar^ | libbar->{bar/1,1}}! trace: collect_build_postponed (2): begin {diz^ | dox->{diz/1,1}} - %.* trace: collect_build_postponed (2): skip being built existing dependent diz of dependency dox trace: collect_build_postponed (2): cfg-negotiate begin {diz^ | dox->{diz/1,1}} - %.* trace: collect_build_postponed (2): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin dox/1.0.0 - %.* trace: collect_build_prerequisites: cannot cfg-postpone dependency dex/1.0.0 of dependent dox/1.0.0 (collected prematurely), throwing postpone_dependency trace: pkg_build: collection failed due to prematurely collected dependency (dex), retry from scratch - %.* trace: pkg_build: refine package collection/plan execution from scratch - %.* trace: collect_build: add libbar/1.0.0 trace: collect_build: add dex/1.0.0 trace: collect_build: add diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reeval bar/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bar/1.0.0: 1,1 trace: collect_build_prerequisites: pre-reeval diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated diz/1.0.0: 1,1 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of existing dependent bar/1.0.0 due to dependency libbar/1.0.0 trace: collect_build: add bar/1.0.0 @@ -14365,22 +14537,17 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: skip configured diz/1.0.0 trace: collect_build_postponed (0): begin trace: collect_build_postponed (1): begin {bar^ | libbar->{bar/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bar/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bar/1.0.0: 1,1 trace: collect_build_prerequisites: pre-reeval diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated diz/1.0.0: 1,1 trace: collect_build_postponed (1): re-evaluate existing dependents for {bar^ | libbar->{bar/1,1}} trace: collect_build_prerequisites: reeval bar/1.0.0 - %.* trace: collect_build: pick libbar/1.0.0 over libbar/0.1.0 trace: postponed_configurations::add: add {bar^ 1,1: libbar} to {bar^ | libbar->{bar/1,1}} trace: collect_build_prerequisites: re-evaluating dependent bar/1.0.0 results in {bar^ | libbar->{bar/1,1}} trace: collect_build_prerequisites: re-evaluated bar/1.0.0 trace: collect_build_prerequisites: reeval diz/1.0.0 - %.* trace: postponed_configurations::add: add {diz^ 1,1: dox} to {diz^ | dox->{diz/1,1}} trace: collect_build_prerequisites: re-evaluating dependent diz/1.0.0 results in {diz^ | dox->{diz/1,1}} trace: collect_build_prerequisites: re-evaluated diz/1.0.0 @@ -14394,46 +14561,35 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end bar/1.0.0 trace: collect_build_postponed (1): cfg-negotiate end {bar^ | libbar->{bar/1,1}}! trace: collect_build_postponed (2): begin {diz^ | dox->{diz/1,1}} - %.* trace: collect_build_postponed (2): skip being built existing dependent diz of dependency dox trace: collect_build_postponed (2): cfg-negotiate begin {diz^ | dox->{diz/1,1}} trace: collect_build_postponed (2): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin dox/1.0.0 - %.* trace: collect_build_prerequisites: cfg-postpone dependency dex/1.0.0 of dependent dox/1.0.0 trace: postponed_configurations::add: create {dox | dex->{dox/1,1}} trace: collect_build_prerequisites: postpone dox/1.0.0 trace: collect_build_postponed (2): recursively collect cfg-negotiated dependents trace: collect_build_postponed (2): select cfg-negotiated dependency alternative for dependent diz/1.0.0 trace: collect_build_prerequisites: resume diz/1.0.0 - %.* trace: collect_build: add libbox/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbox/1.0.0 of dependent diz/1.0.0 trace: postponed_configurations::add: create {diz | libbox->{diz/2,1}} trace: collect_build_prerequisites: postpone diz/1.0.0 trace: collect_build_postponed (2): cfg-negotiate end {diz^ | dox->{diz/1,1}}! trace: collect_build_postponed (3): begin {dox | dex->{dox/1,1}} - %.* trace: collect_build_postponed (3): skip being built existing dependent dox of dependency dex trace: collect_build_postponed (3): cfg-negotiate begin {dox | dex->{dox/1,1}} - %.* trace: collect_build_postponed (3): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin dex/1.0.0 - %.* trace: collect_build_prerequisites: cannot cfg-postpone dependency bar/1.0.0 of dependent dex/1.0.0 (collected prematurely), throwing postpone_dependency trace: pkg_build: collection failed due to prematurely collected dependency (bar), retry from scratch - %.* trace: pkg_build: refine package collection/plan execution from scratch - %.* trace: collect_build: add libbar/1.0.0 trace: collect_build: add dex/1.0.0 trace: collect_build: add diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reeval bar/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bar/1.0.0: 1,1 trace: collect_build_prerequisites: pre-reeval diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated diz/1.0.0: 1,1 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of existing dependent bar/1.0.0 due to dependency libbar/1.0.0 trace: collect_build: add bar/1.0.0 @@ -14445,17 +14601,13 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: skip configured diz/1.0.0 trace: collect_build_postponed (0): begin trace: collect_build_postponed (1): begin {bar^ | libbar->{bar/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bar/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bar/1.0.0: 1,1 trace: collect_build_prerequisites: pre-reeval diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated diz/1.0.0: 1,1 trace: collect_build_postponed (1): skip dep-postponed existing dependent bar of dependency libbar trace: collect_build_postponed (1): re-evaluate existing dependents for {bar^ | libbar->{bar/1,1}} trace: collect_build_prerequisites: reeval diz/1.0.0 - %.* trace: postponed_configurations::add: add {diz^ 1,1: dox} to {diz^ | dox->{diz/1,1}} trace: collect_build_prerequisites: re-evaluating dependent diz/1.0.0 results in {diz^ | dox->{diz/1,1}} trace: collect_build_prerequisites: re-evaluated diz/1.0.0 @@ -14468,31 +14620,26 @@ test.arguments += --sys-no-query trace: collect_build_postponed (1): skip dep-postponed existing dependent bar trace: collect_build_postponed (1): cfg-negotiate end {bar^ | libbar->{bar/1,1}}! trace: collect_build_postponed (2): begin {diz^ | dox->{diz/1,1}} - %.* trace: collect_build_postponed (2): skip being built existing dependent diz of dependency dox trace: collect_build_postponed (2): cfg-negotiate begin {diz^ | dox->{diz/1,1}} trace: collect_build_postponed (2): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin dox/1.0.0 - %.* trace: collect_build_prerequisites: cfg-postpone dependency dex/1.0.0 of dependent dox/1.0.0 trace: postponed_configurations::add: create {dox | dex->{dox/1,1}} trace: collect_build_prerequisites: postpone dox/1.0.0 trace: collect_build_postponed (2): recursively collect cfg-negotiated dependents trace: collect_build_postponed (2): select cfg-negotiated dependency alternative for dependent diz/1.0.0 trace: collect_build_prerequisites: resume diz/1.0.0 - %.* trace: collect_build: add libbox/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbox/1.0.0 of dependent diz/1.0.0 trace: postponed_configurations::add: create {diz | libbox->{diz/2,1}} trace: collect_build_prerequisites: postpone diz/1.0.0 trace: collect_build_postponed (2): cfg-negotiate end {diz^ | dox->{diz/1,1}}! trace: collect_build_postponed (3): begin {dox | dex->{dox/1,1}} - %.* trace: collect_build_postponed (3): skip being built existing dependent dox of dependency dex trace: collect_build_postponed (3): cfg-negotiate begin {dox | dex->{dox/1,1}} trace: collect_build_postponed (3): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin dex/1.0.0 - %.* trace: collect_build_prerequisites: cfg-postpone dependency bar/1.0.0 of dependent dex/1.0.0 trace: postponed_configurations::add: create {dex | bar->{dex/1,1}} trace: collect_build_prerequisites: postpone dex/1.0.0 @@ -14502,33 +14649,26 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end dox/1.0.0 trace: collect_build_postponed (3): cfg-negotiate end {dox | dex->{dox/1,1}}! trace: collect_build_postponed (4): begin {diz | libbox->{diz/2,1}} - %.* trace: collect_build_postponed (4): skip being built existing dependent diz of dependency libbox trace: collect_build_postponed (4): cfg-negotiate begin {diz | libbox->{diz/2,1}} - %.* trace: collect_build_postponed (4): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: skip configured libbox/1.0.0 trace: collect_build_postponed (4): recursively collect cfg-negotiated dependents trace: collect_build_postponed (4): select cfg-negotiated dependency alternative for dependent diz/1.0.0 trace: collect_build_prerequisites: resume diz/1.0.0 - %.* trace: collect_build: pick libbar/1.0.0 over libbar/0.1.0 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of dependent diz/1.0.0 trace: postponed_configurations::add: add {diz 3,1: libbar} to {bar^ | libbar->{bar/1,1}}! trace: collect_build_prerequisites: cfg-postponing dependent diz/1.0.0 involves (being) negotiated configurations and results in {bar^ diz | libbar->{bar/1,1 diz/3,1}}!, throwing retry_configuration trace: collect_build_postponed (0): cfg-negotiation of {bar^ | libbar->{bar/1,1}} failed due to dependent diz, refining configuration trace: collect_build_postponed (1): begin {bar^ | libbar->{bar/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bar/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bar/1.0.0: 1,1 trace: collect_build_prerequisites: pre-reeval diz/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated diz/1.0.0: 1,1 trace: collect_build_postponed (1): skip dep-postponed existing dependent bar of dependency libbar trace: collect_build_postponed (1): re-evaluate existing dependents for {bar^ | libbar->{bar/1,1}} trace: collect_build_prerequisites: reeval diz/1.0.0 - %.* trace: postponed_configurations::add: add {diz^ 1,1: dox} to {diz^ | dox->{diz/1,1}} trace: collect_build_prerequisites: re-evaluating dependent diz/1.0.0 results in {diz^ | dox->{diz/1,1}} trace: collect_build_prerequisites: re-evaluated diz/1.0.0 @@ -14541,31 +14681,26 @@ test.arguments += --sys-no-query trace: collect_build_postponed (1): skip dep-postponed existing dependent bar trace: collect_build_postponed (1): cfg-negotiate end {bar^ | libbar->{bar/1,1}}! trace: collect_build_postponed (2): begin {diz^ | dox->{diz/1,1}} - %.* trace: collect_build_postponed (2): skip being built existing dependent diz of dependency dox trace: collect_build_postponed (2): cfg-negotiate begin {diz^ | dox->{diz/1,1}} trace: collect_build_postponed (2): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin dox/1.0.0 - %.* trace: collect_build_prerequisites: cfg-postpone dependency dex/1.0.0 of dependent dox/1.0.0 trace: postponed_configurations::add: create {dox | dex->{dox/1,1}} trace: collect_build_prerequisites: postpone dox/1.0.0 trace: collect_build_postponed (2): recursively collect cfg-negotiated dependents trace: collect_build_postponed (2): select cfg-negotiated dependency alternative for dependent diz/1.0.0 trace: collect_build_prerequisites: resume diz/1.0.0 - %.* trace: collect_build: add libbox/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbox/1.0.0 of dependent diz/1.0.0 trace: postponed_configurations::add: create {diz | libbox->{diz/2,1}} trace: collect_build_prerequisites: postpone diz/1.0.0 trace: collect_build_postponed (2): cfg-negotiate end {diz^ | dox->{diz/1,1}}! trace: collect_build_postponed (3): begin {dox | dex->{dox/1,1}} - %.* trace: collect_build_postponed (3): skip being built existing dependent dox of dependency dex trace: collect_build_postponed (3): cfg-negotiate begin {dox | dex->{dox/1,1}} trace: collect_build_postponed (3): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin dex/1.0.0 - %.* trace: collect_build_prerequisites: cfg-postpone dependency bar/1.0.0 of dependent dex/1.0.0 trace: postponed_configurations::add: create {dex | bar->{dex/1,1}} trace: collect_build_prerequisites: postpone dex/1.0.0 @@ -14575,7 +14710,6 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end dox/1.0.0 trace: collect_build_postponed (3): cfg-negotiate end {dox | dex->{dox/1,1}}! trace: collect_build_postponed (4): begin {diz | libbox->{diz/2,1}} - %.* trace: collect_build_postponed (4): skip being built existing dependent diz of dependency libbox trace: collect_build_postponed (4): cfg-negotiate begin {diz | libbox->{diz/2,1}} trace: collect_build_postponed (4): recursively collect cfg-negotiated dependencies @@ -14583,7 +14717,6 @@ test.arguments += --sys-no-query trace: collect_build_postponed (4): recursively collect cfg-negotiated dependents trace: collect_build_postponed (4): select cfg-negotiated dependency alternative for dependent diz/1.0.0 trace: collect_build_prerequisites: resume diz/1.0.0 - %.* trace: collect_build: pick libbar/1.0.0 over libbar/0.1.0 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of dependent diz/1.0.0 trace: postponed_configurations::add: add {diz 3,1: libbar} to {bar^ | libbar->{bar/1,1}}! @@ -14592,12 +14725,10 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end diz/1.0.0 trace: collect_build_postponed (4): cfg-negotiate end {diz | libbox->{diz/2,1}}! trace: collect_build_postponed (5): begin {dex | bar->{dex/1,1}} - %.* trace: collect_build_postponed (5): skip being built existing dependent dex of dependency bar trace: collect_build_postponed (5): cfg-negotiate begin {dex | bar->{dex/1,1}} trace: collect_build_postponed (5): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin bar/1.0.0 - %.* trace: collect_build: pick libbar/1.0.0 over libbar/0.1.0 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of dependent bar/1.0.0 trace: postponed_configurations::add: add {bar 1,1: libbar} to {bar^ diz | libbar->{bar/1,1 diz/3,1}}! @@ -14607,17 +14738,14 @@ test.arguments += --sys-no-query trace: collect_build_postponed (5): recursively collect cfg-negotiated dependents trace: collect_build_postponed (5): select cfg-negotiated dependency alternative for dependent dex/1.0.0 trace: collect_build_prerequisites: resume dex/1.0.0 - %.* trace: collect_build: add libfoo/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libfoo/1.0.0 of dependent dex/1.0.0 trace: postponed_configurations::add: create {dex | libfoo->{dex/2,1}} trace: collect_build_prerequisites: postpone dex/1.0.0 trace: collect_build_postponed (5): cfg-negotiate end {dex | bar->{dex/1,1}}! trace: collect_build_postponed (6): begin {dex | libfoo->{dex/2,1}} - %.* trace: collect_build_postponed (6): skip being built existing dependent dex of dependency libfoo trace: collect_build_postponed (6): cfg-negotiate begin {dex | libfoo->{dex/2,1}} - %.* trace: collect_build_postponed (6): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: skip configured libfoo/1.0.0 trace: collect_build_postponed (6): recursively collect cfg-negotiated dependents @@ -14632,7 +14760,6 @@ test.arguments += --sys-no-query trace: collect_build_postponed (2): end {diz^ | dox->{diz/1,1}} trace: collect_build_postponed (1): end {bar^ | libbar->{bar/1,1}} trace: collect_build_postponed (0): end - %.* trace: execute_plan: simulate: yes %.* build plan: @@ -17563,32 +17690,26 @@ test.arguments += --sys-no-query libbar configured 1.0.0 EOO - $* bat 2>>~%EOE%; + $* bat 2>&1 | $filter 2>>~%EOE%; %.* trace: pkg_build: refine package collection/plan execution from scratch - %.* trace: collect_build: add bat/1.0.0 trace: collect_build_prerequisites: begin bat/1.0.0 - %.* trace: collect_build: add libbaz/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbaz/1.0.0 of dependent bat/1.0.0 trace: postponed_configurations::add: create {bat | libbaz->{bat/1,1}} trace: collect_build_prerequisites: postpone bat/1.0.0 trace: collect_build_postponed (0): begin trace: collect_build_postponed (1): begin {bat | libbaz->{bat/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bus/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bus/1.0.0: 1,1 trace: collect_build_postponed (1): re-evaluate existing dependents for {bat | libbaz->{bat/1,1}} trace: collect_build: add bus/1.0.0 trace: collect_build_prerequisites: reeval bus/1.0.0 - %.* trace: postponed_configurations::add: add {bus^ 1,1: libbaz} to {bat | libbaz->{bat/1,1}} trace: collect_build_prerequisites: re-evaluating dependent bus/1.0.0 results in {bat bus^ | libbaz->{bat/1,1 bus/1,1}} trace: collect_build_prerequisites: re-evaluated bus/1.0.0 trace: collect_build_postponed (1): cfg-negotiate begin {bat bus^ | libbaz->{bat/1,1 bus/1,1}} - %.* trace: collect_build_postponed (1): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: skip configured libbaz/1.0.0 trace: collect_build_postponed (1): recursively collect cfg-negotiated dependents @@ -17597,20 +17718,16 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end bat/1.0.0 trace: collect_build_postponed (1): select cfg-negotiated dependency alternative for dependent bus/1.0.0 trace: collect_build_prerequisites: resume bus/1.0.0 - %.* trace: collect_build: add foo/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency foo/1.0.0 of dependent bus/1.0.0 trace: postponed_configurations::add: create {bus | foo->{bus/2,1}} trace: collect_build_prerequisites: postpone bus/1.0.0 trace: collect_build_postponed (1): cfg-negotiate end {bat bus^ | libbaz->{bat/1,1 bus/1,1}}! trace: collect_build_postponed (2): begin {bus | foo->{bus/2,1}} - %.* trace: collect_build_postponed (2): skip being built existing dependent bus of dependency foo trace: collect_build_postponed (2): cfg-negotiate begin {bus | foo->{bus/2,1}} - %.* trace: collect_build_postponed (2): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin foo/1.0.0 - %.* trace: collect_build: add libfoo/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libfoo/1.0.0 of dependent foo/1.0.0 trace: postponed_configurations::add: create {foo | libfoo->{foo/1,1}} @@ -17621,27 +17738,21 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end bus/1.0.0 trace: collect_build_postponed (2): cfg-negotiate end {bus | foo->{bus/2,1}}! trace: collect_build_postponed (3): begin {foo | libfoo->{foo/1,1}} - %.* trace: collect_build_postponed (3): skip being built existing dependent foo of dependency libfoo - %.* trace: collect_build_prerequisites: pre-reeval bax/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bax/1.0.0: 1,1 trace: collect_build_postponed (3): re-evaluate existing dependents for {foo | libfoo->{foo/1,1}} trace: collect_build: add bax/1.0.0 trace: collect_build_prerequisites: reeval bax/1.0.0 - %.* trace: postponed_configurations::add: add {bax^ 1,1: libfoo} to {foo | libfoo->{foo/1,1}} trace: collect_build_prerequisites: re-evaluating dependent bax/1.0.0 results in {bax^ foo | libfoo->{bax/1,1 foo/1,1}} trace: collect_build_prerequisites: re-evaluated bax/1.0.0 trace: collect_build_postponed (3): cfg-negotiate begin {bax^ foo | libfoo->{bax/1,1 foo/1,1}} - %.* trace: collect_build_postponed (3): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: skip configured libfoo/1.0.0 trace: collect_build_postponed (3): recursively collect cfg-negotiated dependents trace: collect_build_postponed (3): select cfg-negotiated dependency alternative for dependent bax/1.0.0 trace: collect_build_prerequisites: resume bax/1.0.0 - %.* trace: collect_build: add libbox/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbox/1.0.0 of dependent bax/1.0.0 trace: collect_build: add libbar/1.0.0 @@ -17653,47 +17764,35 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end foo/1.0.0 trace: collect_build_postponed (3): cfg-negotiate end {bax^ foo | libfoo->{bax/1,1 foo/1,1}}! trace: collect_build_postponed (4): begin {bax | libbox->{bax/2,1} libbar->{bax/2,1}} - %.* trace: collect_build_postponed (4): skip being built existing dependent bax of dependency libbox - %.* trace: collect_build_postponed (4): skip being built existing dependent bax of dependency libbar - %.* trace: collect_build_prerequisites: pre-reeval bas/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bas/1.0.0: 1,1 trace: collect_build_postponed (4): re-evaluate existing dependents for {bax | libbox->{bax/2,1} libbar->{bax/2,1}} trace: collect_build: add bas/1.0.0 trace: collect_build_prerequisites: reeval bas/1.0.0 - %.* trace: postponed_configurations::add: add {bas^ 1,1: libbar} to {bax | libbox->{bax/2,1} libbar->{bax/2,1}} trace: collect_build_prerequisites: re-evaluating dependent bas/1.0.0 results in {bas^ bax | libbox->{bax/2,1} libbar->{bas/1,1 bax/2,1}} trace: collect_build_prerequisites: re-evaluated bas/1.0.0 trace: collect_build_postponed (4): cfg-negotiate begin {bas^ bax | libbox->{bax/2,1} libbar->{bas/1,1 bax/2,1}} - %.* trace: collect_build_postponed (4): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: skip configured libbox/1.0.0 trace: collect_build_prerequisites: skip configured libbar/1.0.0 trace: collect_build_postponed (4): recursively collect cfg-negotiated dependents trace: collect_build_postponed (4): select cfg-negotiated dependency alternative for dependent bas/1.0.0 trace: collect_build_prerequisites: resume bas/1.0.0 - %.* trace: collect_build_prerequisites: cannot cfg-postpone dependency bus/1.0.0 of dependent bas/1.0.0 (collected prematurely), throwing postpone_dependency trace: pkg_build: collection failed due to prematurely collected dependency (bus), retry from scratch - %.* trace: pkg_build: refine package collection/plan execution from scratch - %.* trace: collect_build: add bat/1.0.0 trace: collect_build_prerequisites: begin bat/1.0.0 - %.* trace: collect_build: add libbaz/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbaz/1.0.0 of dependent bat/1.0.0 trace: postponed_configurations::add: create {bat | libbaz->{bat/1,1}} trace: collect_build_prerequisites: postpone bat/1.0.0 trace: collect_build_postponed (0): begin trace: collect_build_postponed (1): begin {bat | libbaz->{bat/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bus/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bus/1.0.0: 1,1 trace: collect_build_postponed (1): skip dep-postponed existing dependent bus of dependency libbaz trace: collect_build_postponed (1): cfg-negotiate begin {bat | libbaz->{bat/1,1}} @@ -17704,29 +17803,23 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: resume bat/1.0.0 trace: collect_build_prerequisites: end bat/1.0.0 trace: collect_build_postponed (1): cfg-negotiate end {bat | libbaz->{bat/1,1}}! - %.* trace: collect_build_prerequisites: pre-reeval bas/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bas/1.0.0: 1,1 trace: collect_build_postponed (1): schedule re-collection of existing dependent bas/1.0.0 due to bogus postponement of dependency bus trace: collect_build: add bas/1.0.0 trace: collect_build_prerequisites: begin bas/1.0.0 - %.* trace: collect_build: add libbar/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of dependent bas/1.0.0 trace: postponed_configurations::add: create {bas | libbar->{bas/1,1}} trace: collect_build_prerequisites: postpone bas/1.0.0 trace: collect_build_postponed (2): begin {bas | libbar->{bas/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bax/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bax/1.0.0: 1,1 trace: collect_build_postponed (2): skip being built existing dependent bas of dependency libbar trace: collect_build: add libfoo/1.0.0 trace: collect_build_postponed (2): re-evaluate existing dependents for {bas | libbar->{bas/1,1}} trace: collect_build: add bax/1.0.0 trace: collect_build_prerequisites: reeval bax/1.0.0 - %.* trace: postponed_configurations::add: create {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluating dependent bax/1.0.0 results in {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluated bax/1.0.0 @@ -17736,22 +17829,18 @@ test.arguments += --sys-no-query trace: collect_build_postponed (2): recursively collect cfg-negotiated dependents trace: collect_build_postponed (2): select cfg-negotiated dependency alternative for dependent bas/1.0.0 trace: collect_build_prerequisites: resume bas/1.0.0 - %.* trace: collect_build: add bus/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency bus/1.0.0 of dependent bas/1.0.0 trace: postponed_configurations::add: create {bas | bus->{bas/2,1}} trace: collect_build_prerequisites: postpone bas/1.0.0 trace: collect_build_postponed (2): cfg-negotiate end {bas | libbar->{bas/1,1}}! trace: collect_build_postponed (3): begin {bax^ | libfoo->{bax/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval foo/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated foo/1.0.0: 1,1 trace: collect_build_postponed (3): skip being built existing dependent bax of dependency libfoo trace: collect_build_postponed (3): re-evaluate existing dependents for {bax^ | libfoo->{bax/1,1}} trace: collect_build: add foo/1.0.0 trace: collect_build_prerequisites: reeval foo/1.0.0 - %.* trace: postponed_configurations::add: add {foo^ 1,1: libfoo} to {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluating dependent foo/1.0.0 results in {bax^ foo^ | libfoo->{bax/1,1 foo/1,1}} trace: collect_build_prerequisites: re-evaluated foo/1.0.0 @@ -17761,26 +17850,21 @@ test.arguments += --sys-no-query trace: collect_build_postponed (3): recursively collect cfg-negotiated dependents trace: collect_build_postponed (3): select cfg-negotiated dependency alternative for dependent bax/1.0.0 trace: collect_build_prerequisites: resume bax/1.0.0 - %.* trace: collect_build: add libbox/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbox/1.0.0 of dependent bax/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of dependent bax/1.0.0 trace: postponed_configurations::add: add {bax 2,1: libbox libbar} to {bas | libbar->{bas/1,1}}! - %.* trace: collect_build_prerequisites: skip being built existing dependent bax of dependency libbox trace: collect_build_prerequisites: cfg-postponing dependent bax/1.0.0 involves (being) negotiated configurations and results in {bas bax | libbar->{bas/1,1 bax/2,1} libbox->{bax/2,1}}!, throwing retry_configuration trace: collect_build_postponed (1): cfg-negotiation of {bas | libbar->{bas/1,1}} failed due to dependent bax, refining configuration trace: collect_build_postponed (2): begin {bas | libbar->{bas/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bax/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bax/1.0.0: 1,1 trace: collect_build_postponed (2): skip being built existing dependent bas of dependency libbar trace: collect_build: add libfoo/1.0.0 trace: collect_build_postponed (2): re-evaluate existing dependents for {bas | libbar->{bas/1,1}} trace: collect_build: add bax/1.0.0 trace: collect_build_prerequisites: reeval bax/1.0.0 - %.* trace: postponed_configurations::add: create {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluating dependent bax/1.0.0 results in {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluated bax/1.0.0 @@ -17790,22 +17874,18 @@ test.arguments += --sys-no-query trace: collect_build_postponed (2): recursively collect cfg-negotiated dependents trace: collect_build_postponed (2): select cfg-negotiated dependency alternative for dependent bas/1.0.0 trace: collect_build_prerequisites: resume bas/1.0.0 - %.* trace: collect_build: add bus/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency bus/1.0.0 of dependent bas/1.0.0 trace: postponed_configurations::add: create {bas | bus->{bas/2,1}} trace: collect_build_prerequisites: postpone bas/1.0.0 trace: collect_build_postponed (2): cfg-negotiate end {bas | libbar->{bas/1,1}}! trace: collect_build_postponed (3): begin {bax^ | libfoo->{bax/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval foo/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated foo/1.0.0: 1,1 trace: collect_build_postponed (3): skip being built existing dependent bax of dependency libfoo trace: collect_build_postponed (3): re-evaluate existing dependents for {bax^ | libfoo->{bax/1,1}} trace: collect_build: add foo/1.0.0 trace: collect_build_prerequisites: reeval foo/1.0.0 - %.* trace: postponed_configurations::add: add {foo^ 1,1: libfoo} to {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluating dependent foo/1.0.0 results in {bax^ foo^ | libfoo->{bax/1,1 foo/1,1}} trace: collect_build_prerequisites: re-evaluated foo/1.0.0 @@ -17815,12 +17895,10 @@ test.arguments += --sys-no-query trace: collect_build_postponed (3): recursively collect cfg-negotiated dependents trace: collect_build_postponed (3): select cfg-negotiated dependency alternative for dependent bax/1.0.0 trace: collect_build_prerequisites: resume bax/1.0.0 - %.* trace: collect_build: add libbox/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbox/1.0.0 of dependent bax/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of dependent bax/1.0.0 trace: postponed_configurations::add: add {bax 2,1: libbox libbar} to {bas | libbar->{bas/1,1}}! - %.* trace: collect_build_prerequisites: skip being built existing dependent bax of dependency libbox trace: collect_build_prerequisites: configuration for cfg-postponed dependencies of dependent bax/1.0.0 is negotiated trace: collect_build_prerequisites: collecting cfg-postponed dependency libbox/1.0.0 of dependent bax/1.0.0 @@ -17832,34 +17910,26 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end foo/1.0.0 trace: collect_build_postponed (3): cfg-negotiate end {bax^ foo^ | libfoo->{bax/1,1 foo/1,1}}! trace: collect_build_postponed (4): begin {bas | bus->{bas/2,1}} - %.* trace: collect_build_postponed (4): skip being built existing dependent bas of dependency bus trace: collect_build_postponed (4): cfg-negotiate begin {bas | bus->{bas/2,1}} trace: collect_build_postponed (4): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin bus/1.0.0 - %.* trace: collect_build_prerequisites: cfg-postpone dependency libbaz/1.0.0 of dependent bus/1.0.0 trace: postponed_configurations::add: add {bus 1,1: libbaz} to {bat | libbaz->{bat/1,1}}! trace: collect_build_prerequisites: configuration for cfg-postponed dependencies of dependent bus/1.0.0 is negotiated trace: collect_build_prerequisites: dependency libbaz/1.0.0 of dependent bus/1.0.0 is already (being) recursively collected, skipping - %.* trace: collect_build_prerequisites: cannot cfg-postpone dependency foo/1.0.0 of dependent bus/1.0.0 (collected prematurely), throwing postpone_dependency trace: pkg_build: collection failed due to prematurely collected dependency (foo), retry from scratch - %.* trace: pkg_build: refine package collection/plan execution from scratch - %.* trace: collect_build: add bat/1.0.0 trace: collect_build_prerequisites: begin bat/1.0.0 - %.* trace: collect_build: add libbaz/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbaz/1.0.0 of dependent bat/1.0.0 trace: postponed_configurations::add: create {bat | libbaz->{bat/1,1}} trace: collect_build_prerequisites: postpone bat/1.0.0 trace: collect_build_postponed (0): begin trace: collect_build_postponed (1): begin {bat | libbaz->{bat/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bus/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bus/1.0.0: 1,1 trace: collect_build_postponed (1): skip dep-postponed existing dependent bus of dependency libbaz trace: collect_build_postponed (1): cfg-negotiate begin {bat | libbaz->{bat/1,1}} @@ -17870,29 +17940,23 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: resume bat/1.0.0 trace: collect_build_prerequisites: end bat/1.0.0 trace: collect_build_postponed (1): cfg-negotiate end {bat | libbaz->{bat/1,1}}! - %.* trace: collect_build_prerequisites: pre-reeval bas/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bas/1.0.0: 1,1 trace: collect_build_postponed (1): schedule re-collection of existing dependent bas/1.0.0 due to bogus postponement of dependency bus trace: collect_build: add bas/1.0.0 trace: collect_build_prerequisites: begin bas/1.0.0 - %.* trace: collect_build: add libbar/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of dependent bas/1.0.0 trace: postponed_configurations::add: create {bas | libbar->{bas/1,1}} trace: collect_build_prerequisites: postpone bas/1.0.0 trace: collect_build_postponed (2): begin {bas | libbar->{bas/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bax/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bax/1.0.0: 1,1 trace: collect_build_postponed (2): skip being built existing dependent bas of dependency libbar trace: collect_build: add libfoo/1.0.0 trace: collect_build_postponed (2): re-evaluate existing dependents for {bas | libbar->{bas/1,1}} trace: collect_build: add bax/1.0.0 trace: collect_build_prerequisites: reeval bax/1.0.0 - %.* trace: postponed_configurations::add: create {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluating dependent bax/1.0.0 results in {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluated bax/1.0.0 @@ -17902,16 +17966,13 @@ test.arguments += --sys-no-query trace: collect_build_postponed (2): recursively collect cfg-negotiated dependents trace: collect_build_postponed (2): select cfg-negotiated dependency alternative for dependent bas/1.0.0 trace: collect_build_prerequisites: resume bas/1.0.0 - %.* trace: collect_build: add bus/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency bus/1.0.0 of dependent bas/1.0.0 trace: postponed_configurations::add: create {bas | bus->{bas/2,1}} trace: collect_build_prerequisites: postpone bas/1.0.0 trace: collect_build_postponed (2): cfg-negotiate end {bas | libbar->{bas/1,1}}! trace: collect_build_postponed (3): begin {bax^ | libfoo->{bax/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval foo/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated foo/1.0.0: 1,1 trace: collect_build_postponed (3): skip being built existing dependent bax of dependency libfoo trace: collect_build_postponed (3): skip dep-postponed existing dependent foo of dependency libfoo @@ -17921,26 +17982,21 @@ test.arguments += --sys-no-query trace: collect_build_postponed (3): recursively collect cfg-negotiated dependents trace: collect_build_postponed (3): select cfg-negotiated dependency alternative for dependent bax/1.0.0 trace: collect_build_prerequisites: resume bax/1.0.0 - %.* trace: collect_build: add libbox/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbox/1.0.0 of dependent bax/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of dependent bax/1.0.0 trace: postponed_configurations::add: add {bax 2,1: libbox libbar} to {bas | libbar->{bas/1,1}}! - %.* trace: collect_build_prerequisites: skip being built existing dependent bax of dependency libbox trace: collect_build_prerequisites: cfg-postponing dependent bax/1.0.0 involves (being) negotiated configurations and results in {bas bax | libbar->{bas/1,1 bax/2,1} libbox->{bax/2,1}}!, throwing retry_configuration trace: collect_build_postponed (1): cfg-negotiation of {bas | libbar->{bas/1,1}} failed due to dependent bax, refining configuration trace: collect_build_postponed (2): begin {bas | libbar->{bas/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval bax/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated bax/1.0.0: 1,1 trace: collect_build_postponed (2): skip being built existing dependent bas of dependency libbar trace: collect_build: add libfoo/1.0.0 trace: collect_build_postponed (2): re-evaluate existing dependents for {bas | libbar->{bas/1,1}} trace: collect_build: add bax/1.0.0 trace: collect_build_prerequisites: reeval bax/1.0.0 - %.* trace: postponed_configurations::add: create {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluating dependent bax/1.0.0 results in {bax^ | libfoo->{bax/1,1}} trace: collect_build_prerequisites: re-evaluated bax/1.0.0 @@ -17950,16 +18006,13 @@ test.arguments += --sys-no-query trace: collect_build_postponed (2): recursively collect cfg-negotiated dependents trace: collect_build_postponed (2): select cfg-negotiated dependency alternative for dependent bas/1.0.0 trace: collect_build_prerequisites: resume bas/1.0.0 - %.* trace: collect_build: add bus/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency bus/1.0.0 of dependent bas/1.0.0 trace: postponed_configurations::add: create {bas | bus->{bas/2,1}} trace: collect_build_prerequisites: postpone bas/1.0.0 trace: collect_build_postponed (2): cfg-negotiate end {bas | libbar->{bas/1,1}}! trace: collect_build_postponed (3): begin {bax^ | libfoo->{bax/1,1}} - %.* trace: collect_build_prerequisites: pre-reeval foo/1.0.0 - %.* trace: collect_build_prerequisites: pre-reevaluated foo/1.0.0: 1,1 trace: collect_build_postponed (3): skip being built existing dependent bax of dependency libfoo trace: collect_build_postponed (3): skip dep-postponed existing dependent foo of dependency libfoo @@ -17969,12 +18022,10 @@ test.arguments += --sys-no-query trace: collect_build_postponed (3): recursively collect cfg-negotiated dependents trace: collect_build_postponed (3): select cfg-negotiated dependency alternative for dependent bax/1.0.0 trace: collect_build_prerequisites: resume bax/1.0.0 - %.* trace: collect_build: add libbox/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbox/1.0.0 of dependent bax/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency libbar/1.0.0 of dependent bax/1.0.0 trace: postponed_configurations::add: add {bax 2,1: libbox libbar} to {bas | libbar->{bas/1,1}}! - %.* trace: collect_build_prerequisites: skip being built existing dependent bax of dependency libbox trace: collect_build_prerequisites: configuration for cfg-postponed dependencies of dependent bax/1.0.0 is negotiated trace: collect_build_prerequisites: collecting cfg-postponed dependency libbox/1.0.0 of dependent bax/1.0.0 @@ -17983,17 +18034,14 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end bax/1.0.0 trace: collect_build_postponed (3): cfg-negotiate end {bax^ | libfoo->{bax/1,1}}! trace: collect_build_postponed (4): begin {bas | bus->{bas/2,1}} - %.* trace: collect_build_postponed (4): skip being built existing dependent bas of dependency bus trace: collect_build_postponed (4): cfg-negotiate begin {bas | bus->{bas/2,1}} trace: collect_build_postponed (4): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin bus/1.0.0 - %.* trace: collect_build_prerequisites: cfg-postpone dependency libbaz/1.0.0 of dependent bus/1.0.0 trace: postponed_configurations::add: add {bus 1,1: libbaz} to {bat | libbaz->{bat/1,1}}! trace: collect_build_prerequisites: configuration for cfg-postponed dependencies of dependent bus/1.0.0 is negotiated trace: collect_build_prerequisites: dependency libbaz/1.0.0 of dependent bus/1.0.0 is already (being) recursively collected, skipping - %.* trace: collect_build: add foo/1.0.0 trace: collect_build_prerequisites: cfg-postpone dependency foo/1.0.0 of dependent bus/1.0.0 trace: postponed_configurations::add: create {bus | foo->{bus/2,1}} @@ -18004,12 +18052,10 @@ test.arguments += --sys-no-query trace: collect_build_prerequisites: end bas/1.0.0 trace: collect_build_postponed (4): cfg-negotiate end {bas | bus->{bas/2,1}}! trace: collect_build_postponed (5): begin {bus | foo->{bus/2,1}} - %.* trace: collect_build_postponed (5): skip being built existing dependent bus of dependency foo trace: collect_build_postponed (5): cfg-negotiate begin {bus | foo->{bus/2,1}} trace: collect_build_postponed (5): recursively collect cfg-negotiated dependencies trace: collect_build_prerequisites: begin foo/1.0.0 - %.* trace: collect_build_prerequisites: cfg-postpone dependency libfoo/1.0.0 of dependent foo/1.0.0 trace: postponed_configurations::add: add {foo 1,1: libfoo} to {bax^ | libfoo->{bax/1,1}}! trace: collect_build_prerequisites: configuration for cfg-postponed dependencies of dependent foo/1.0.0 is negotiated |