def METHOD_NAME(spec, broker):
    if spec in broker.exceptions:
        for ex in broker.exceptions[spec]:
            print(broker.tracebacks[ex], file=sys.stderr)
    if spec in broker.missing_requirements:
        missing = broker.missing_requirements[spec]
        required = missing[0]
        at_least_one = missing[1]
        buf = sys.stderr
        print("Missing Dependencies:", file=buf)
        if required:
            print("    Requires:", file=buf)
            for d in required:
                print("        %s" % dr.get_name(d), file=buf)
        if at_least_one:
            for alo in at_least_one:
                print("    At Least One Of:", file=buf)
                for d in alo:
                    print("        %s" % dr.get_name(d), file=buf)