build_deps_a() returns env