print dependency cycle with error message