Project

General

Profile

Trouble Shooting

Version Conflict

  • mrb and cetbuildtools are designed to prevent inconsistent builds
  • Because of this, you may see a version conflict error in the mrbsetenv step.

Useful Diagnostic Tools

  • ups active
    • a list of all active products
  • ups depend <product> <version> -q <qualifiers>
    • list the dependencies of a particular release

Simple Conflicts

----------- check this block for errors -----------------------
ERROR: Version conflict -- dependency tree requires versions conflicting with current setup of product <product name>: version <vx_yy_zz> vs <vx_aa_bb>
  • You probably have an older release in your environment.
  • ups active | grep <product name>
  • unsetup <product name>
  • ups active | grep <product name>
    • verify that <product name> is no longer setup
  • mrb z
  • mrbsetenv
  • If this does not solve the problem, see "Complex Conflicts"

Complex Conflicts

----------- check this block for errors -----------------------
ERROR: Version conflict -- dependency tree requires versions conflicting with current setup of product art: version v1_12_02 vs v1_12_04
The problem:
  • In this example, larcore depends directly on art v1_12_04.
  • However, we are also attempting to setup some other package which has a dependency on an older art.
  • lardata and larreco set up nutools v1_07_00, which depends on art v1_12_04, so that is OK
  • larsoft sets up ifdh_art, which depends on art v1_12_04, so that is OK
  • However, there is also a dependency in another package we are building on artdaq_core. This must be updated to a release which uses art v1_12_04.
The fix:
  • cd $MRB_SOURCE
  • mrb uv artdaq_core v1_04_07
  • cd $MRB_BUILDDIR
  • mrb z
  • mrbsetenv