drupal configuration objects provided by installation profile have unmet dependencies

See https://www.drupal.org/project/drupal/issues/2922417 for this coming up in Drupal core.

See also:

Why can’t we at least throw this error faster?

There’s this but it apparently didn’t go far enough because this has been part of Drupal 8 since the beginning.

Validate configuration dependencies before importing configuration [#2416109] | Drupal.org

Also of interest:

Allow optional configuration to be installed when its dependencies are met [#2460847] | Drupal.org